Skip to main content

compute_clone_analysis

Function compute_clone_analysis 

Source
pub fn compute_clone_analysis<N, E>(
    graph: &Graph<N, E>,
    threshold: f64,
    n: usize,
) -> CloneAnalysis
where N: ClassNode, E: EdgeKind,
Expand description

Run clone detection across every node’s methodFingerprints blob.

threshold/n follow the Python reference defaults of 0.7 / 3 when callers pass those; pure-Rust callers can tune them.