12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- Usage: metrix++.py limit [options] -- [path 1] ... [path N]
- Options:
- -h, --help show this help message and exit
- --log-level=LOG_LEVEL, --ll=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. [default: INFO]
- --db-file=DB_FILE, --dbf=DB_FILE
- Primary database file to write (by the collector) and
- post-process (by other tools) [default: ./metrixpp.db]
- --db-file-prev=DB_FILE_PREV, --dbfp=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].
- --warn-mode=WARN_MODE, --wm=WARN_MODE
- Defines the warnings mode. 'new' - warnings for new
- regions only, 'trend' - warnings for new regions and
- for bad trend of modified regions, 'touched' -
- warnings for new regions and modified regions, 'all' -
- all warnings active [default: all]
- --min-limit=MIN_LIMIT, --min=MIN_LIMIT
- A threshold per 'namespace:field' metric in order to
- select regions, which have got metric value less than
- the specified limit. This option can be specified
- multiple times, if it is necessary to apply several
- limits. Should be in the format: <namespace>:<field
- >:<limit-value>, for example:
- 'std.code.complexity:cyclomatic:7'.
- --max-limit=MAX_LIMIT, --max=MAX_LIMIT
- A threshold per 'namespace:field' metric in order to
- select regions, which have got metric value more than
- the specified limit. This option can be specified
- multiple times, if it is necessary to apply several
- limits. Should be in the format: <namespace>:<field
- >:<limit-value>, for example:
- 'std.code.complexity:cyclomatic:7'.
- --hotspots=HOTSPOTS, --hs=HOTSPOTS
- If not set (none), all exceeded limits are printed. If
- set, exceeded limits are sorted (the worst is the
- first) and only first HOTSPOTS limits are printed.
- [default: none]
- --disable-suppressions, --ds
- If not set (none), all suppressions are ignored and
- associated warnings are printed. [default: False]
|