blib/lib/WebService/IMDB.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 18 | 55.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
202 | 0 | 1 | 0 | $self->_cache and exists $$cacheCodes{$response->code} |
237 | 0 | 0 | 1 | $self->_cache and $saveToCache |
line | l | !l | condition |
---|---|---|---|
107 | 1 | 1 | $args{'cache_exp'} || '1h' |
110 | 0 | 2 | $args{'domain'} || 'app.imdb.com' |
189 | 0 | 1 | shift() || {'404', 1} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
106 | 1 | 1 | 0 | $args{'cache_root'} || tmpdir() |
118 | 1 | 0 | 1 | $args{'agent'} || "WebService::IMDB/$VERSION" |