MCPcopy Index your code
hub / github.com/cpplint/cpplint / PrintErrorCounts

Method PrintErrorCounts

cpplint.py:1489–1494  ·  view source on GitHub ↗

Print a summary of errors by category, and the total.

(self)

Source from the content-addressed store, hash-verified

1487 self.errors_by_category[category] += 1
1488
1489 def PrintErrorCounts(self):
1490 """Print a summary of errors by category, and the total."""
1491 for category, count in sorted(dict.items(self.errors_by_category)):
1492 self.PrintInfo(f"Category '{category}' errors found: {count}\n")
1493 if self.error_count > 0:
1494 self.PrintInfo(f"Total errors found: {self.error_count}\n")
1495
1496 def PrintInfo(self, message):
1497 # _quiet does not represent --quiet flag.

Callers 1

mainFunction · 0.80

Calls 1

PrintInfoMethod · 0.95

Tested by

no test coverage detected