Branch Coverage

File:lib/CheckSpelling/SuggestExcludes.pm
Coverage:75.0%

line%coveragebranch
16100TFunless $path =~ s/.+\././u
31100TFif $extension ne ""
35100TFunless @directories
58100TFif $i eq $quoted
6050TFif ($slashed =~ s/\./\\./u == 1)
61100TFif $slashed eq $quoted
69100TFunless defined $CheckSpelling::SuggestExcludes::baseline->{$key} and defined $CheckSpelling::SuggestExcludes::totals->{$key}
7650TFif $i =~ /$joined_patterns/u
78100TFif $hits == 1 or $total == 0
80100TFif $ratio < $suggest_threshold
84100TFif ($ratio == 1) { }
50TFelsif ($ratio < 1) { }
9050TFif ($ratio >= $use_threshold) { }
124100TFif ($path =~ /$pattern/u)
131100TFdefined $scores{$hit_count} ? :
13550TFif (defined $scores{'0'})
146100TFif (@top_scoring) { }
153100TFif (%generally_covered_paths) { }
15550TFif (defined $generally_covered_paths{$path}) { }
166100TFunless $current_hit_count
16750TFif ($current_hit_count == $top_score or not @top_scoring and !@ordered_scores || ($current_hit_count > @{$scores{$ordered_scores[0]}[0];})[0]) { }
1770TFunless (defined $scores{$current_hit_count})
21950TFunless /./u
22050TFif /^#/u
23350TFif (@current_patterns)
23850TFunless defined $positive_patterns{$pattern} or defined $zero_patterns{$pattern}
24250TFif @CheckSpelling::SuggestExcludes::patterns
244100TFif $test and $file =~ /$test/u