Condition Coverage

blib/lib/WWW/Scraper/ISBN/OpenLibrary_Driver.pm
Criterion Covered Total %
condition 0 24 0.0


and 3 conditions

line !l l&&!r l&&r condition
129 0 0 0 $data->{'weight'} and $data->{'weight'} =~ /([\d.]+)\s*(?:lbs|pounds)/
0 0 0 $data->{'weight'} and $data->{'weight'} =~ /([\d.]+)\s*(?:ozs|ounces)/
0 0 0 $data->{'weight'} and $data->{'weight'} =~ /([\d.]+)\s*(?:g|grams)/

or 3 conditions

line l !l&&r !l&&!r condition
98 0 0 0 $@ or not $mech->success
0 0 0 $@ or not $mech->success or not $mech->content
112 0 0 0 $isbn eq $data->{'isbn13'} or $isbn eq $data->{'isbn10'}
140 0 0 0 $@ or not $mech->success
0 0 0 $@ or not $mech->success or not $mech->content