scitools.com

← Metric catalog

CodeCheck Violations is one of the source-code metrics Understand computes across 17+ languages — browse them in the GUI, export and track them, or script them with the Python API.

CodeCheck Violations

API IDCountCCViol
TargetsArchitectures Files Functions Project
LanguagesAny
CategoriesViolations
CostQuery
TagsLine Metric

The number of CodeCheck Violations.

For example, if the violation browser for a file showed these violations:

Then the value of this metric would be 3 because the fourth violation is an analysis error and this metric only counts CodeCheck violations.

See also CountAnalysisError for a count of analysis errors and CountAnalysisWarning for a count of analysis warnings.