MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / compare

Function compare

atomic-audit/src/impact/tests.rs:11–18  ·  view source on GitHub ↗
(before: &[(&str, &str)], after: &[(&str, &str)], paths: &[&str])

Source from the content-addressed store, hash-verified

9}
10
11fn compare(before: &[(&str, &str)], after: &[(&str, &str)], paths: &[&str]) -> ImpactReport {
12 analyze(
13 &sources(before),
14 &sources(after),
15 &paths.iter().map(|path| (*path).into()).collect::<Vec<_>>(),
16 &mut ParserRegistry::new(),
17 )
18}
19
20#[test]
21fn rust_direct_calls_measure_real_contract_regression_not_shared_names() {

Calls 3

analyzeFunction · 0.70
sourcesFunction · 0.70
iterMethod · 0.45

Tested by

no test coverage detected