Condition Coverage

blib/lib/WWW/Scraper/ISBN/Yahoo_Driver.pm
Criterion Covered Total %
condition 6 30 20.0


and 3 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
95 0 0 1 not $ean or length $isbn == 13 and $isbn ne $ean
0 0 1 not $ean or length $isbn == 13 and $isbn ne $ean or length $isbn == 10 and $isbn ne $self->convert_to_isbn10($ean)
104 1 0 0 $@ or not $mech->success
1 0 0 $@ or not $mech->success or not $mech->content
108 0 0 0 $@ or not $mech->success
0 0 0 $@ or not $mech->success or not $mech->content
125 0 0 0 $@ or not $mech->success
0 0 0 $@ or not $mech->success or not $mech->content