Branch Coverage

blib/lib/WWW/Scraper/ISBN/PickABook_Driver.pm
Criterion Covered Total %
branch 10 18 55.5


line true false branch
92 0 4 if not $ean or length $isbn == 13 and $isbn ne $ean or length $isbn == 10 and $isbn ne $self->convert_to_isbn10($ean)
105 0 4 if $@ or not $mech->success or not $mech->content
111 1 3 if not $html or $html =~ m[Your search for "ISBN = \d+"\s+has produced 0 results.]is
130 3 0 if ($$data{'image'})
134 3 0 if $$data{'author'}
135 3 0 if $$data{'publisher'}
137 0 9 unless $$data{$_}
144 0 3 unless defined $data
149 0 33 unless defined $$data{$_}