Branch Coverage

blib/lib/Convert/ASCIInames.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
408 1 13 ref $opts[0] eq 'HASH' ? :
412 11 17 if (defined $ohash{$_})
425 2 0 if (not defined $val or length $val == 0)
429 0 0 $truncate ? :
438 2 1797 if (not defined $val or length $val == 0) { }
2 1795 elsif ($val =~ /^[-+]?\d+$/ and $val > 255 || $val < 0) { }
2 1793 elsif (not $val =~ /^\+?\d+$/) { }
449 1 1 if ($$Convert::ASCIInames::config{'strict_ordinals'})