Condition Coverage

blib/lib/WWW/Scraper/ISBN/Foyles_Driver.pm
Criterion Covered Total %
condition 10 24 41.6


and 3 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
89 0 0 2 not $ean or length $isbn == 13 and $isbn ne $ean
0 0 2 not $ean or length $isbn == 13 and $isbn ne $ean or length $isbn == 10 and $isbn ne $self->convert_to_isbn10($ean)
98 0 0 2 $@ or not $mech->success
0 0 2 $@ or not $mech->success or not $mech->content
113 0 0 2 $@ or not $mech->success
0 0 2 $@ or not $mech->success or not $mech->content