Skip to main content

run_modularity_violations

Function run_modularity_violations 

pub fn run_modularity_violations(
    db: &FactsDb,
    opts: &Options,
) -> Result<Vec<ModularityViolationRow>>
Expand description

Run the modularity-violations analysis. Returns the Fisher-significant co-change pairs that have no structural import edge, ranked by coupling degree (highest first — inherited from run_coupling’s ordering).

§Errors

Returns crate::CodeLoreError::Analysis on DuckDB query errors (propagated from the inner coupling run or the imports scan).