test_help_collect_default_stdout.gold.txt 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Usage: metrixpp.py collect [options] -- [path 1] ... [path N]
  2. Options:
  3. -h, --help show this help message and exit
  4. --general.db-file=GENERAL.DB_FILE
  5. Primary database file to write (by the collector) and
  6. post-process (by other tools) [default: ./metrixpp.db]
  7. --general.db-file-prev=GENERAL.DB_FILE_PREV
  8. Database file with data collected for the
  9. past/previous revision. If it is set for the collector
  10. tool to perform an incremental/iterative collection,
  11. it may reduce the processing time significantly. Post-
  12. processing tools use it in order to recognise/evaluate
  13. change trends. [default: none].
  14. --general.non-recursively
  15. If the option is set (True), sub-directories are not
  16. processed [default: False]
  17. --general.exclude-files=GENERAL.EXCLUDE_FILES
  18. Defines the pattern to exclude files from processing
  19. [default: ^[.]]
  20. --general.proctime-on
  21. If the option is set (True), the tool measures
  22. processing time per file [default: False]
  23. --general.procerrors-on
  24. If the option is set (True), the tool counts number of
  25. processing/parsing errors per file [default: False]
  26. --general.log-level=GENERAL.LOG_LEVEL
  27. Defines log level. Possible values are
  28. 'DEBUG','INFO','WARNING' or 'ERROR'. Default value is
  29. inherited from environment variable
  30. 'METRIXPLUSPLUS_LOG_LEVEL' if set. [default: INFO]
  31. --std.code.complexity.on
  32. Enables collection of complexity metrics: cyclomatic
  33. by McCabe [default: False]
  34. --std.code.cpp.files=STD.CODE.CPP.FILES
  35. Enumerates filename extensions to match C/C++ files
  36. [default: *.c,*.h,*.cpp,*.hpp,*.cc,*.hh,*.cxx,*.hxx]
  37. --std.code.cs.files=STD.CODE.CS.FILES
  38. Enumerates filename extensions to match C# files
  39. [default: *.cs]
  40. --std.code.java.files=STD.CODE.JAVA.FILES
  41. Enumerates filename extensions to match Java files
  42. [default: *.java]