COMMAND genhtml --title "JSON for Modern C++" --legend --demangle-cpp --output-directory html --show-details --branch-coverage json.info.filtered.noexcept
COMMENT "Generating HTML report test/html/index.html"
parser=argparse.ArgumentParser(description='A parallel gcov wrapper for fast coverage report generation')
...
...
@@ -224,20 +347,26 @@ if __name__ == '__main__':
parser.add_argument('-b','--branch-coverage',dest='branchcoverage',action="store_true",help='Include branch counts in the coverage report')
# Filtering Options
parser.add_argument('-s','--source-files',dest='sources',nargs="+",default=[],help='Filter: Specify exactly which source files should be included in the final report. Paths must be either absolute or relative to current directory.')
parser.add_argument('-e','--exclude',dest='excludepost',nargs="+",default=[],help='Filter: Exclude source files from final report if they contain one of the provided substrings (i.e. /usr/include test/, etc.)')
parser.add_argument('-i','--include',dest='includepost',nargs="+",default=[],help='Filter: Only include source files in final report that contain one of the provided substrings (i.e. src/ etc.)')
parser.add_argument('-f','--gcda-files',dest='gcda_files',nargs="+",default=[],help='Filter: Specify exactly which gcda files should be processed instead of recursively searching the search directory.')
parser.add_argument('-E','--exclude-gcda',dest='excludepre',nargs="+",default=[],help='Filter: Exclude gcda files from being processed via simple find matching (not regex)')
parser.add_argument('-s','--source-files',dest='sources',nargs="+",metavar='',default=[],help='Filter: Specify exactly which source files should be included in the final report. Paths must be either absolute or relative to current directory.')
parser.add_argument('-e','--exclude',dest='excludepost',nargs="+",metavar='',default=[],help='Filter: Exclude source files from final report if they contain one of the provided substrings (i.e. /usr/include test/, etc.)')
parser.add_argument('-i','--include',dest='includepost',nargs="+",metavar='',default=[],help='Filter: Only include source files in final report that contain one of the provided substrings (i.e. src/ etc.)')
parser.add_argument('-f','--gcda-files',dest='gcda_files',nargs="+",metavar='',default=[],help='Filter: Specify exactly which gcda files should be processed instead of recursively searching the search directory.')
parser.add_argument('-E','--exclude-gcda',dest='excludepre',nargs="+",metavar='',default=[],help='Filter: Exclude gcda files from being processed via simple find matching (not regex)')
parser.add_argument('-g','--gcov',dest='gcov',default='gcov',help='Which gcov binary to use')
parser.add_argument('-d','--search-directory',dest='directory',default=".",help='Base directory to recursively search for gcda files (default: .)')
parser.add_argument('-c','--compiler-directory',dest='cdirectory',default=".",help='Base directory compiler was invoked from (default: .)')
parser.add_argument('-c','--compiler-directory',dest='cdirectory',default=".",help='Base directory compiler was invoked from (default: .) \
This needs to be set if invoking fastcov from somewhere other than the base compiler directory.')
parser.add_argument('-j','--jobs',dest='jobs',type=int,default=multiprocessing.cpu_count(),help='Number of parallel gcov to spawn (default: %d).'%multiprocessing.cpu_count())
parser.add_argument('-m','--minimum-chunk-size',dest='minimum_chunk',type=int,default=5,help='Minimum number of files a thread should process (default: 5). \
If you have only 4 gcda files but they are monstrously huge, you could change this value to a 1 so that each thread will only process 1 gcda. Otherise fastcov will spawn only 1 thread to process all of them.')
parser.add_argument('-o','--output',dest='output',default="coverage.json",help='Name of output file (default: coverage.json)')
parser.add_argument('-l','--lcov',dest='lcov',action="store_true",help='Output in lcov info format instead of gcov json')
parser.add_argument('-l','--lcov',dest='lcov',action="store_true",help='Output in lcov info format instead of fastcov json')
parser.add_argument('-r','--gcov-raw',dest='gcov_raw',action="store_true",help='Output in gcov raw json instead of fastcov json')
parser.add_argument('-o','--output',dest='output',default="coverage.json",help='Name of output file (default: coverage.json)')
parser.add_argument('-q','--quiet',dest='quiet',action="store_true",help='Suppress output to stdout')