Branch Coverage

blib/lib/Library/CallNumber/LC.pm
Criterion Covered Total %
branch 45 54 83.3


line true false branch
132 6 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 4 if $lc =~ /$weird/
230 0 4 unless $lc =~ /$lcregex/
237 2 2 if ($dec)
248 3 1 if $c1dec
252 5 23 unless defined $comp
253 10 18 unless $comp =~ /\S/ or $returnAll
274 0 255 unless $lc =~ /$lcregex/
280 233 22 if $num
281 109 146 if $dec
293 43 212 if $extra ne ''
310 245 4 $lc ? :
334 4 2 $lc ? :
362 0 142 unless $long
365 131 11 if ($long =~ /^([A-Z]+)(\d{4})(.*)$/) { }
11 0 elsif ($long =~ /^([A-Z]+)(.*)$/) { }
369 0 11 if ($rest =~ /^$bottomer/) { }
376 142 0 if (defined $intmap{$alpha}) { }
385 0 1103 if ($char eq $bottomer)
393 0 142 if ($bottomout) { }