pub fn detect_clone_pairs(
methods: &[MethodFingerprint],
threshold: f64,
n: usize,
) -> Vec<ClonePair>Expand description
Detect clone pairs among methods by n-gram Jaccard similarity. O(n²) over the method list — caller is responsible for capping graph size (the Python reference skips graphs above 500 nodes).