MCPcopy Create free account
hub / github.com/CodeSentryAI/lockbud / statistics

Method statistics

src/detector/panic/mod.rs:135–141  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

133 &self.result
134 }
135 pub fn statistics(&self) -> HashMap<PanicAPI, usize> {
136 let mut tally: HashMap<PanicAPI, usize> = HashMap::new();
137 self.result.iter().for_each(|(_, (_, _, panic_instance))| {
138 *tally.entry(panic_instance.to_panic_api()).or_default() += 1;
139 });
140 tally
141 }
142}
143
144struct PanicFinder<'tcx> {

Callers 1

analyze_with_lockbudMethod · 0.80

Calls 1

to_panic_apiMethod · 0.80

Tested by

no test coverage detected