Condition Coverage

blib/lib/WWW/Scraper/ISBN/Driver.pm
Criterion Covered Total %
condition 16 19 84.2


and 3 conditions

line !l l&&!r l&&r condition
126 3 5 1 length $isbn == 13 and $isbn ne $ean
127 5 1 2 length $isbn == 10 and $isbn ne $self->convert_to_isbn10($ean)

or 2 conditions

line l !l condition
63 23 0 shift() || (return)
94 16 0 shift() || (return)

or 3 conditions

line l !l&&r !l&&!r condition
19 1 10 0 ref $proto || $proto
66 8 14 1 length $isbn == 10 or length $isbn == 13
97 5 10 1 length $ean == 10 or length $ean == 13