test_help_collect_default_stdout.gold.txt 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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.size-on If the option is set (True), the tool collects file
  27. size metric (in bytes) [default: False]
  28. --general.log-level=GENERAL.LOG_LEVEL
  29. Defines log level. Possible values are
  30. 'DEBUG','INFO','WARNING' or 'ERROR'. Default value is
  31. inherited from environment variable
  32. 'METRIXPLUSPLUS_LOG_LEVEL' if set. [default: INFO]
  33. --std.code.complexity.on
  34. Enables collection of complexity metrics: cyclomatic
  35. by McCabe [default: False]
  36. --std.code.cpp.files=STD.CODE.CPP.FILES
  37. Enumerates filename extensions to match C/C++ files
  38. [default: *.c,*.h,*.cpp,*.hpp,*.cc,*.hh,*.cxx,*.hxx]
  39. --std.code.cs.files=STD.CODE.CS.FILES
  40. Enumerates filename extensions to match C# files
  41. [default: *.cs]
  42. --std.code.java.files=STD.CODE.JAVA.FILES
  43. Enumerates filename extensions to match Java files
  44. [default: *.java]