Branch Coverage

blib/lib/WWW/Scraper/ISBN/PickABook_Driver.pm
Criterion Covered Total %
branch 0 18 0.0


line true false branch
92 0 0 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 0 if $@ or not $mech->success or not $mech->content
111 0 0 if not $html or $html =~ m[Your search for "ISBN = \d+"\s+has produced 0 results.]is
130 0 0 if ($data->{'image'})
134 0 0 if $data->{'author'}
135 0 0 if $data->{'publisher'}
137 0 0 unless $data->{$_}
144 0 0 unless defined $data
149 0 0 unless defined $data->{$_}