Condition Coverage

blib/lib/WWW/Scraper/ISBN/PickABook_Driver.pm
Criterion Covered Total %
condition 11 21 52.3


and 3 conditions

line !l l&&!r l&&r condition
92 2 2 0 length $isbn == 13 and $isbn ne $ean
2 2 0 length $isbn == 10 and $isbn ne $self->convert_to_isbn10($ean)

or 3 conditions

line l !l&&r !l&&!r condition
92 0 0 4 not $ean or length $isbn == 13 and $isbn ne $ean
0 0 4 not $ean or length $isbn == 13 and $isbn ne $ean or length $isbn == 10 and $isbn ne $self->convert_to_isbn10($ean)
105 3 0 1 $@ or not $mech->success
3 0 1 $@ or not $mech->success or not $mech->content
111 0 0 1 not $html or $html =~ m[Your search for "ISBN = \d+"\s+has produced 0 results.]is