You can run code coverage for any compiled language application that you can debug from the command line or as part of a script. There are two modes in which you can run headless code coverage:
$ codecov testProg
>>-codecov--+----------------------------------------------------------------------------------------------------------------+--><
| |
+ -stopdaemon=<PORT_NUMBER> -------------------------------------------------------------------------------------+
| |
+ <PROGRAM_NAME> <PROGRAM_PARAMETERS> -optionsfile=<PATH> --+ |
| | |
| .------------------. | |
| v | v |
+ -startdaemon -optionsfile=<PATH> --+--------------------------+--------------------------------------------+--+
| | | | | |
| + -singleconnect --+ + -output=<PATH> ----------------------------+ |
| | | | | |
| + -localonly ------+ + -cclevel=<"LINE" | "FUNCTION" | "LEVEL"> --+ |
| | | |
| + -prevresultpath=<"NONE" | "PREV" | PATH> --+ |
| | | |
| + -reportformat=<"HTML" | "NONE"> -----------+ |
| | | |
| + -savesource -------------------------------+ |
| | | |
| + -startupcommandlist=<PATH> ----------------+ |
| | | |
| + -zipresult --------------------------------+ |
| | | |
| + -port=<PORT_LIST> -------------------------+ |
| |
+ -help ---------------------------------------------------------------------------------------------------------+