Branch Coverage

File:lib/CheckSpelling/CleanupFiles.pm
Coverage:14.7%

line%coveragebranch
3150TFif ($type =~ /^(?:line_forbidden|patterns|excludes|only|reject)$/) { }
50TFelsif ($type =~ /^(?:dictionary|expect|allow)$/) { }
41100TFunless ($maybe_bad =~ /^\Q$workspace_path\E/)
4650TFif ($maybe_bad =~ m[/\.git/]i)
520TFif (open $fh, "<:encoding(UTF-8)", $file)
600TFif ($length == 0) { }
630TFunless ($buffer =~ /\R/)
770TFdefined $nl ? :
850TFif ($warning)
910TFif ($content ne "")
930TFif ($warning ne '') { }
0TFelsif ($line ne '') { }
990TFif ($add_nl_at_eof)
1080TFif $eol_d_a
1090TFif $eol_a
1100TFif $eol_d
1110TFif (scalar @line_endings > 1)