Skip to main content

impact_analysis

Function impact_analysis 

Source
pub fn impact_analysis(
    diff: &CodeDiffResult,
    nodes_batch: &RecordBatch,
    edges_batch: &RecordBatch,
    max_depth: usize,
) -> ImpactReport
Expand description

Compute the impact (blast radius) of a code diff.

diff is the object-level diff from codegraph_diff. nodes_batch is the current CodeNodes state. edges_batch is the current CodeEdges state. max_depth controls how deep transitive caller search goes (default 3).