test_help_collect_default_stdout.gold.txt 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Usage: metrixpp.py collect [options] -- [path 1] ... [path N]
  2. Options:
  3. -h, --help show this help message and exit
  4. --db-file=DB_FILE, --dbf=DB_FILE
  5. Primary database file to write (by the collector) and
  6. post-process (by other tools) [default: ./metrixpp.db]
  7. --db-file-prev=DB_FILE_PREV, --dbfp=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. --non-recursively, --nr
  15. If the option is set (True), sub-directories are not
  16. processed [default: False]
  17. --exclude-files=EXCLUDE_FILES, --ef=EXCLUDE_FILES
  18. Defines the pattern to exclude files from processing
  19. [default: ^[.]]
  20. --std.general.proctime, --sgpt
  21. If the option is set (True), the tool measures
  22. processing time per file [default: False]
  23. --std.general.procerrors, --sgpe
  24. If the option is set (True), the tool counts number of
  25. processing/parsing errors per file [default: False]
  26. --std.general.size, --sgs
  27. If the option is set (True), the tool collects file
  28. size metric (in bytes) [default: False]
  29. --log-level=LOG_LEVEL, --ll=LOG_LEVEL
  30. Defines log level. Possible values are
  31. 'DEBUG','INFO','WARNING' or 'ERROR'. Default value is
  32. inherited from environment variable
  33. 'METRIXPLUSPLUS_LOG_LEVEL' if set. [default: INFO]
  34. --std.code.complexity.cyclomatic, --sccc
  35. Enables collection of cyclomatic complexity metric
  36. (McCabe) [default: False]
  37. --std.code.cpp.files=STD.CODE.CPP.FILES
  38. Enumerates filename extensions to match C/C++ files
  39. [default: *.c,*.h,*.cpp,*.hpp,*.cc,*.hh,*.cxx,*.hxx]
  40. --std.code.cs.files=STD.CODE.CS.FILES
  41. Enumerates filename extensions to match C# files
  42. [default: *.cs]
  43. --std.code.java.files=STD.CODE.JAVA.FILES
  44. Enumerates filename extensions to match Java files
  45. [default: *.java]