Branch Coverage

blib/lib/Library/CallNumber/LC.pm
Criterion Covered Total %
branch 44 54 81.4


line true false branch
132 5 1 unless defined $topper
154 1 1 if (@_)
167 397 5 if (ref $self) { }
168 2 395 if $topper
171 2 3 if $topper
185 150 3 if (ref $self) { }
186 2 148 if $bottomer
189 2 1 if $bottomer
229 0 3 if $lc =~ /$weird/
230 0 3 unless $lc =~ /$lcregex/
237 1 2 if ($dec)
246 3 0 if $c1 =~ /\S/
251 3 18 unless defined $comp
252 6 15 unless $comp =~ /\S/ or $returnAll
273 0 255 unless $lc =~ /$lcregex/
279 233 22 if $num
280 109 146 if $dec
292 43 212 if $extra ne ''
309 245 4 $lc ? :
333 4 2 $lc ? :
361 0 142 unless $long
364 131 11 if ($long =~ /^([A-Z]+)(\d{4})(.*)$/) { }
11 0 elsif ($long =~ /^([A-Z]+)(.*)$/) { }
368 0 11 if ($rest =~ /^$bottomer/) { }
375 142 0 if (defined $intmap{$alpha}) { }
384 0 1103 if ($char eq $bottomer)
392 0 142 if ($bottomout) { }