MCPcopy
hub / github.com/aosabook/500lines / add

Method add

crawler/code/reporting.py:12–13  ·  view source on GitHub ↗
(self, key, count=1)

Source from the content-addressed store, hash-verified

10 self.stats = {}
11
12 def add(self, key, count=1):
13 self.stats[key] = self.stats.get(key, 0) + count
14
15 def report(self, file=None):
16 for key, count in sorted(self.stats.items()):

Callers 15

_variableMethod · 0.45
invalidateMethod · 0.45
add_edgeMethod · 0.45
visitMethod · 0.45
highcharts.jsFile · 0.45
jFunction · 0.45
mFunction · 0.45
bDFunction · 0.45
jquery.min.jsFile · 0.45
runEachFunction · 0.45
dragStartFunction · 0.45
dragEnterFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected