Condition Coverage

blib/lib/Business/ISMN.pm
Criterion Covered Total %
condition 8 18 44.4


and 3 conditions

line !l l&&!r l&&r condition
138 0 0 1 defined $ismn and length $ismn == 10
167 397 61 1320 defined $tuple->[2] and $code > $tuple->[2]
169 0 397 60 $code >= $tuple->[1] and $code <= $tuple->[2]
216 0 0 0 defined $ismn and is_valid_checksum($ismn) eq GOOD_ISMN()
241 1 0 0 is_valid_checksum($self->{'ismn'} eq GOOD_ISMN()) and defined $self->{'publisher_code'}

or 3 conditions

line l !l&&r !l&&!r condition
126 0 0 3 $position > 9 or $position < 1