MCPcopy Create free account
hub / github.com/FastLED/FastLED / total_violations

Method total_violations

ci/util/check_files.py:110–112  ·  view source on GitHub ↗

Get total number of violations across all files.

(self)

Source from the content-addressed store, hash-verified

108 self.violations[file_path].add_violation(line_number, content)
109
110 def total_violations(self) -> int:
111 """Get total number of violations across all files."""
112 return sum(fv.violation_count() for fv in self.violations.values())
113
114 def file_count(self) -> int:
115 """Get number of files with violations."""

Callers 2

run_checker_standaloneFunction · 0.95
format_and_print_resultsFunction · 0.80

Calls 2

violation_countMethod · 0.80
valuesMethod · 0.80

Tested by

no test coverage detected