Skip to main content

Module impact

Module impact 

Source
Expand description

Impact analysis — compute the blast radius of code changes.

Given a CodeDiffResult (which nodes changed) and the CodeGraph state, computes which other nodes are transitively affected via call edges, which tests cover the affected area, and produces a human-readable report.

Structs§

ChangedNode
A directly changed node with its change type.
ImpactReport
The blast radius of a set of code changes.
ImpactStats
Summary statistics for an impact report.

Functions§

format_impact_report
Format an impact report as a human-readable summary.
impact_analysis
Compute the impact (blast radius) of a code diff.