Function run_centrality
pub fn run_centrality(
db: &FactsDb,
opts: &Options,
) -> Result<Vec<CentralityRow>>Expand description
Compute the four centrality scores per file on the Fisher-significant coupling graph.
§Errors
Returns [CodeLoreError::Analysis] if the underlying coupling query
fails. An empty coupling result (small repos, threshold filtered
everything out) yields an empty Vec — not an error.