MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / get_violations

Method get_violations

addons/misra.py:4260–4264  ·  view source on GitHub ↗

Return the list of violations for a normal checker run

(self, violation_type=None)

Source from the content-addressed store, hash-verified

4258 return self.verify_actual
4259
4260 def get_violations(self, violation_type=None):
4261 """Return the list of violations for a normal checker run"""
4262 if violation_type is None:
4263 return self.violations.items()
4264 return self.violations[violation_type]
4265
4266 def get_violation_types(self):
4267 """Return the list of violations for a normal checker run"""

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected