line |
true |
false |
branch |
97
|
0 |
3 |
if not $ean or length $isbn == 13 and $isbn ne $ean or length $isbn == 10 and $isbn ne $self->convert_to_isbn10($ean) |
107
|
0 |
3 |
if $@ or not $mech->success or not $mech->content |
113
|
0 |
3 |
unless $link |
117
|
0 |
3 |
if $@ or not $mech->success or not $mech->content |
134
|
1 |
4 |
unless @size |
135
|
4 |
1 |
if (@size) |
138
|
4 |
0 |
if ($type eq 'cm') { } |
|
0 |
0 |
elsif ($type eq 'inches') { } |
152
|
4 |
1 |
unless $$data{'description'} |
154
|
1 |
4 |
if $$data{'weight'} |
156
|
4 |
1 |
if ($$data{'description'}) |
163
|
0 |
5 |
if ($json) { } |
166
|
0 |
0 |
if @order |
167
|
0 |
0 |
if @order |
173
|
4 |
1 |
if ($code) |
184
|
4 |
1 |
if ($$data{'content'}) |
192
|
4 |
1 |
if $$data{'published'} |
193
|
4 |
1 |
if $$data{'isbn10'} |
194
|
4 |
1 |
if $$data{'isbn13'} |
195
|
4 |
1 |
if $$data{'pubdate'} |
197
|
1 |
4 |
unless defined $$data{'isbn13'} |
201
|
3 |
65 |
unless defined $$data{$_} |