1234567891011121314151617181920212223242526272829303132333435363738394041 |
- Usage: collect.py [options] -- [path 1] ... [path N]
- Options:
- -h, --help show this help message and exit
- --general.db-file=GENERAL.DB_FILE
- Primary database file to write (by the collector) and
- post-process (by other tools) [default: ./metrixpp.db]
- --general.db-file-prev=GENERAL.DB_FILE_PREV
- Database file with data collected for the
- past/previous revision. If it is set for the collector
- tool to perform an incremental/iterative collection,
- it may reduce the processing time significantly. Post-
- processing tools use it in order to recognise/evaluate
- change trends. [default: none].
- --general.non-recursively
- If the option is set (True), sub-directories are not
- processed [default: False]
- --general.exclude-files=GENERAL.EXCLUDE_FILES
- Defines the pattern to exclude files from processing
- [default: ^[.]]
- --general.proctime.on
- If the option is set (True), the tool measures
- processing time per every file [default: False]
- --general.log-level=GENERAL.LOG_LEVEL
- Defines log level. Possible values are
- 'DEBUG','INFO','WARNING' or 'ERROR'. Default value is
- inherited from environment variable
- 'METRIXPLUSPLUS_LOG_LEVEL' if set. Otherwise, it is
- 'ERROR' [default: ERROR]
- --std.code.complexity.on
- Enables collection of complexity metrics: cyclomatic
- by McCabe [default: False]
- --std.code.cpp.files=STD.CODE.CPP.FILES
- Enumerates filename extensions to match C/C++ files
- [default: *.c,*.h,*.cpp,*.hpp,*.cc,*.hh,*.cxx,*.hxx]
- --std.code.cs.files=STD.CODE.CS.FILES
- Enumerates filename extensions to match C/C++ files
- [default: *.cs]
- --std.code.dumper.on If the option is set (True), HTML files are generated
- for every parsed file containing code (for
- troubleshooting purposes only) [default: False]
|