MCPcopy Create free account
hub / github.com/blacklanternsecurity/bbot / __init__

Method __init__

bbot/scanner/stats.py:40–44  ·  view source on GitHub ↗
(self, scan)

Source from the content-addressed store, hash-verified

38
39class ScanStats:
40 def __init__(self, scan):
41 self.scan = scan
42 self.module_stats = {}
43 self.events_emitted_by_type = {}
44 self.speedometer = SpeedCounter(scan.status_frequency)
45
46 def event_produced(self, event):
47 _increment(self.events_emitted_by_type, event.type)

Callers

nothing calls this directly

Calls 1

SpeedCounterClass · 0.85

Tested by

no test coverage detected