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

Function analyze_with_coverage

atomic-audit/src/impact/analysis.rs:62–76  ·  view source on GitHub ↗
(
    before: &[(String, String)],
    after: &[(String, String)],
    paths: &[String],
    complete: bool,
    registry: &mut ParserRegistry,
)

Source from the content-addressed store, hash-verified

60}
61
62pub fn analyze_with_coverage(
63 before: &[(String, String)],
64 after: &[(String, String)],
65 paths: &[String],
66 complete: bool,
67 registry: &mut ParserRegistry,
68) -> ImpactReport {
69 let mut before = registry.analyze_sources(before);
70 let mut after = registry.analyze_sources(after);
71 before.complete &= complete;
72 after.complete &= complete;
73 before.paths_complete &= complete;
74 after.paths_complete &= complete;
75 analyze_semantic(before, after, paths)
76}
77
78/// Apply compatibility policy to already-parsed shared semantic source sets.
79pub fn analyze_semantic(before: SourceSet, after: SourceSet, paths: &[String]) -> ImpactReport {

Calls 2

analyze_semanticFunction · 0.85
analyze_sourcesMethod · 0.80