blib/lib/WebService/Libris.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 28 | 57.1 |
line | true | false | branch |
---|---|---|---|
228 | 15 | 0 | if ($opts{'type'}) |
229 | 0 | 15 | if ($opts{'type_map'}) { } |
236 | 1 | 14 | if (my $cache_dir = delete $opts{'cache_dir'}) |
242 | 15 | 0 | if ($c) { } |
244 | 0 | 15 | unless eval "use $class; 1" |
261 | 3 | 16 | unless ($self->_dom) |
262 | 3 | 0 | if ($self->cache) { } |
264 | 3 | 0 | if (my $r = $self->cache->get($key)) { } |
293 | 0 | 0 | if $opts{'full'} |
317 | 0 | 0 | unless $url |
335 | 2 | 14 | unless $resource_url |
337 | 0 | 14 | if $seen{"$k/$id"}++ |
356 | 1 | 7 | if (ref $_ eq 'ARRAY') { } |
365 | 6 | 0 | if $thing = (shift())->dom->at($look_for) |