MCPcopy Create free account
hub / github.com/alibaba/GraphScope / PrintErrorCounts

Method PrintErrorCounts

analytical_engine/misc/cpplint.py:1349–1355  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

1347 self.errors_by_category[category] += 1
1348
1349 def PrintErrorCounts(self):
1350 """Print a summary of errors by category, and the total."""
1351 for category, count in sorted(iteritems(self.errors_by_category)):
1352 self.PrintInfo('Category \'%s\' errors found: %d\n' %
1353 (category, count))
1354 if self.error_count > 0:
1355 self.PrintInfo('Total errors found: %d\n' % self.error_count)
1356
1357 def PrintInfo(self, message):
1358 # _quiet does not represent --quiet flag.

Callers 1

mainFunction · 0.80

Calls 1

PrintInfoMethod · 0.95

Tested by

no test coverage detected