Branch Coverage

blib/lib/WWW/Scraper/ISBN/BookDepository_Driver.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
93 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)
104 0 0 if $@ or not $mech->success or not $mech->content
110 0 0 if $html =~ /Sorry, there are no results for/is
130 0 0 unless $data->{'isbn13'}
131 0 0 unless $data->{'publisher'}
132 0 0 unless $data->{'pubdate'}
133 0 0 unless $data->{'title'}
134 0 0 unless $data->{'author'}
135 0 0 unless $data->{'pages'}
136 0 0 unless $data->{'image'}
138 0 0 unless $data->{'title'} and $data->{'author'}
140 0 0 unless $data->{'description'}
150 0 0 if $data->{'publisher'}
151 0 0 if $data->{'width'}
152 0 0 if $data->{'height'}
153 0 0 if $data->{'weight'}
154 0 0 unless ($data->{'thumb'})
162 0 0 unless defined $data
167 0 0 unless defined $data->{$_}