Branch Coverage

blib/lib/HTML/Spelling/Site/Whitelist.pm
Criterion Covered Total %
branch 25 30 83.3


line true false branch
37 3 0 unless ($self->_was_parsed)
48 10 19 if (not $l =~ /\S/u or $l =~ /\A\s*#/u) { }
6 13 elsif ($l =~ s/\A====\s+//u) { }
54 2 4 if ($l =~ /\AGLOBAL:\s*\z/u) { }
4 0 elsif ($l =~ /\AIn:\s*(.*)/u) { }
56 0 2 if (defined $rec)
66 3 1 if (defined $rec)
74 0 11 if (exists $found{$fn})
94 7 6 if (defined $rec) { }
100 0 6 unless ($found_global)
108 1 2 if (defined $rec)
146 6 1 @$a_aref == @$b_aref ? :
2 23 @$b_aref == $idx ? :
7 25 @$a_aref == $idx ? :
192 1 1 if ($i == $final_i) { }