Branch Coverage

blib/lib/Text/Levenshtein/Damerau/PP.pm
Criterion Covered Total %
branch 10 10 100.0


line true false branch
18 8 2 $source_length ? :
10 53 unless $target_length and $source_length
41 230 673 if ($source_index == 1)
53 667 236 if (substr($source, $source_index - 1, 1) ne substr($target, $target_index - 1, 1)) { }
83 1 52 $max_distance != 0 && $max_distance < $score ? :