MCPcopy
hub / github.com/mitmproxy/mitmproxy / count

Method count

mitmproxy/addons/serverplayback.py:174–175  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

172
173 @command.command("replay.server.count")
174 def count(self) -> int:
175 return sum(len(i) for i in self.flowmap.values())
176
177 def _hash(self, flow: http.HTTPFlow) -> Hashable:
178 """

Callers 5

test_loadFunction · 0.95
getMethod · 0.45
configureMethod · 0.45
parse_specMethod · 0.45

Calls 1

valuesMethod · 0.80

Tested by 2

test_loadFunction · 0.76