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

Method Count

cpplint.py:1655–1658  ·  view source on GitHub ↗

Count line in current function body.

(self)

Source from the content-addressed store, hash-verified

1653 self.current_function = function_name
1654
1655 def Count(self):
1656 """Count line in current function body."""
1657 if self.in_a_function:
1658 self.lines_in_function += 1
1659
1660 def Check(self, error, filename, linenum):
1661 """Report if too many lines in function body.

Callers 1

CheckForFunctionLengthsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected