Branch Coverage

blib/lib/Text/MostFreqKDistance.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
68 0 12 if $_a->{'key'} eq 'NULL'
70 6 18 if ($_a->{'key'} eq $_b->{'key'})
71 5 1 if ($_a->{'value'} == $_b->{'value'}) { }
102 1 15 unless defined $string
103 1 14 unless defined $k
104 2 12 unless $k =~ /^[0-9]+$/
134 30 106 if defined $seen and exists $seen->{$_}
135 46 60 if ($chars{$_} == $chars{$chars[$j]})