MCPcopy Index your code
hub / github.com/nodejs/node / ratio

Method ratio

deps/v8/tools/locs.py:184–185  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

182 self.expanded_bytes = expanded_bytes
183
184 def ratio(self):
185 return self.expanded / (self.loc+1)
186
187 def to_string(self):
188 exp_bytes, exp_unit = fmt_bytes(self.expanded_bytes)

Callers 2

to_stringMethod · 0.95
MainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected