blib/lib/WWW/Crawler/Lite.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 22 | 45.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
134 | 0 | 0 | 1 | $res and $res->is_success |
0 | 0 | 1 | $res and $res->is_success and $res->content | |
248 | 594 | 0 | 0 | @{$$s{'disallowed'};} && $s->rules->allowed($u) |
37 | 23 | 594 | /$pattern/ and not exists $$s{'urls'}{$u} | |
264 | 617 | 0 | 0 | @{$$s{'disallowed'};} && $s->rules->allowed($$u{'href'}) |
line | l | !l | condition |
---|---|---|---|
119 | 5 | 0 | $response->header('content-type') || '' |
240 | 1 | 593 | $$s{'urls'}{$_} ||= 'new' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
188 | 0 | 0 | 0 | $attrs{'title'} || $attrs{'alt'} |