blib/lib/Business/ISMN.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 18 | 44.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
139 | 0 | 0 | 1 | defined $ismn and length $ismn == 10 |
168 | 397 | 61 | 1320 | defined $tuple->[2] and $code > $tuple->[2] |
170 | 0 | 397 | 60 | $code >= $tuple->[1] and $code <= $tuple->[2] |
217 | 0 | 0 | 0 | defined $ismn and is_valid_checksum($ismn) eq GOOD_ISMN() |
242 | 1 | 0 | 0 | is_valid_checksum($self->{'ismn'} eq GOOD_ISMN()) and defined $self->{'publisher_code'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
127 | 0 | 0 | 3 | $position > 9 or $position < 1 |