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

Method Count

util/cpplint.py:1028–1031  ·  view source on GitHub ↗

Count line in current function body.

(self)

Source from the content-addressed store, hash-verified

1026 self.current_function = function_name
1027
1028 def Count(self):
1029 """Count line in current function body."""
1030 if self.in_a_function:
1031 self.lines_in_function += 1
1032
1033 def Check(self, error, filename, linenum):
1034 """Report if too many lines in function body.

Callers 1

CheckForFunctionLengthsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected