MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / Count

Method Count

rtpose_wrapper/scripts/cpp_lint.py:831–834  ·  view source on GitHub ↗

Count line in current function body.

(self)

Source from the content-addressed store, hash-verified

829 self.current_function = function_name
830
831 def Count(self):
832 """Count line in current function body."""
833 if self.in_a_function:
834 self.lines_in_function += 1
835
836 def Check(self, error, filename, linenum):
837 """Report if too many lines in function body.

Callers 1

CheckForFunctionLengthsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected