pub struct ChangeCouplingReport {
pub since: String,
pub commits_analyzed: usize,
pub commits_skipped: usize,
pub total_pairs: usize,
pub thresholds: ChangeCouplingThresholds,
pub pairs: Vec<HiddenCouplingPair>,
}Expand description
Hidden change coupling: pairs of files that change together in the git history while no import or re-export chain connects them.
An agent that follows the import graph cannot find the second file of a hidden pair. The section is advisory: it has no health score weight and never gates.
Fields§
§since: StringHistory window that the section reads, for example "12 months".
Without --since the window is 12 months, wider than the hotspot
window.
commits_analyzed: usizeCommits that changed at least one analyzed file and were not skipped.
commits_skipped: usizeCommits skipped because they changed more analyzed files than
thresholds.max_files_per_commit.
total_pairs: usizeHidden pairs in scope before --top cuts pairs.
thresholds: ChangeCouplingThresholdsThresholds that this run applied.
pairs: Vec<HiddenCouplingPair>Hidden pairs, sorted by degree and then shared_revisions (both
descending), then by path. Empty when the history cannot show
coupling; workspace_diagnostics then tells why.