MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / PrintErrorCounts

Method PrintErrorCounts

util/cpplint.py:935–940  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

933 self.errors_by_category[category] += 1
934
935 def PrintErrorCounts(self):
936 """Print a summary of errors by category, and the total."""
937 for category, count in self.errors_by_category.items():
938 sys.stderr.write('Category \'%s\' errors found: %d\n' %
939 (category, count))
940 sys.stdout.write('Total errors found: %d\n' % self.error_count)
941
942_cpplint_state = _CppLintState()
943

Callers 1

mainFunction · 0.80

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected