Skip to main content

clone_group_spread

Function clone_group_spread 

Source
pub fn clone_group_spread(instances: &[CloneInstance]) -> usize
Expand description

Compute the maximum distance between clone instances.

Instances in different files use lexical parent-directory distance. Instances in the same file use the non-overlapping line gap, rounded up in 250-line steps. The returned value is not capped; only ranking caps spread.