MCPcopy Create free account
hub / github.com/BVLC/caffe / PrintErrorCounts

Method PrintErrorCounts

scripts/cpp_lint.py:761–766  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

759 self.errors_by_category[category] += 1
760
761 def PrintErrorCounts(self):
762 """Print a summary of errors by category, and the total."""
763 for category, count in iteritems(self.errors_by_category):
764 sys.stderr.write('Category \'%s\' errors found: %d\n' %
765 (category, count))
766 sys.stderr.write('Total errors found: %d\n' % self.error_count)
767
768_cpplint_state = _CppLintState()
769

Callers 1

mainFunction · 0.80

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected