MCPcopy Create free account
hub / github.com/apache/mesos / PrintErrorCounts

Method PrintErrorCounts

support/cpplint.py:958–963  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

956 self.errors_by_category[category] += 1
957
958 def PrintErrorCounts(self):
959 """Print a summary of errors by category, and the total."""
960 for category, count in self.errors_by_category.iteritems():
961 sys.stderr.write('Category \'%s\' errors found: %d\n' %
962 (category, count))
963 sys.stdout.write('Total errors found: %d\n' % self.error_count)
964
965_cpplint_state = _CppLintState()
966

Callers 1

mainFunction · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected