| 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) |
|
106
|
0 |
0 |
if $@ or not $mech->success or not $mech->content |
|
110
|
0 |
0 |
if (length $isbn == 10) |
|
118
|
0 |
0 |
if $html =~ /Sorry, we couldn't find any matches for/is |
|
127
|
0 |
0 |
if $data->{'publisher'} |
|
128
|
0 |
0 |
if $data->{'pubdate'} |
|
136
|
0 |
0 |
unless $data->{'title'} |
|
145
|
0 |
0 |
if ($data->{'weight'}) |
|
146
|
0 |
0 |
if ($data->{'weight'} < 1) { } |
|
|
0 |
0 |
elsif ($data->{'weight'} < 100) { } |
|
|
0 |
0 |
elsif ($data->{'weight'} < 1000) { } |
|
152
|
0 |
0 |
if $data->{'height'} |
|
153
|
0 |
0 |
if $data->{'width'} |
|
154
|
0 |
0 |
if $data->{'depth'} |
|
156
|
0 |
0 |
if ($data->{'author'}) |
|
163
|
0 |
0 |
if ($data->{'description'}) |
|
172
|
0 |
0 |
unless defined $data |
|
176
|
0 |
0 |
unless defined $data->{$_} |