blib/lib/WWW/Scraper/ISBN/Waterstones_Driver.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 18 | 44.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
92 | 1 | 2 | 0 | length $isbn == 13 and $isbn ne $ean |
2 | 1 | 0 | length $isbn == 10 and $isbn ne $self->convert_to_isbn10($ean) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
92 | 0 | 0 | 3 | not $ean or length $isbn == 13 and $isbn ne $ean |
0 | 0 | 3 | not $ean or length $isbn == 13 and $isbn ne $ean or length $isbn == 10 and $isbn ne $self->convert_to_isbn10($ean) | |
102 | 0 | 0 | 3 | $@ or not $mech->success |
0 | 0 | 3 | $@ or not $mech->success or not $mech->content |