blib/lib/HTTP/ProxyTest.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 30 | 13.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
253 | 3 | 0 | 0 | $res->is_success and index($res->content, $$args{'content_substr'}) >= 0 |
307 | 0 | 0 | 0 | -r $file and -w _ |
314 | 0 | 0 | 0 | -r $dir and -w _ |
0 | 0 | 0 | -r $dir and -w _ and -x _ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
325 | 0 | 0 | 0 | /\D/ || $_ < 0 || $_ > 65535 |
331 | 1 | 0 | 0 | $args{'primary'}[0] or $args{'secondary'}[0] |
333 | 0 | 1 | 0 | $args{'nmap'} or $args{'primary'}[0] |
346 | 0 | 2 | 0 | $args{$_} ||= $defaults{$_} |
386 | 0 | 0 | 0 | not $nmap_result or $? |
400 | 0 | 0 | 0 | gethostbyaddr(pack('C4', split(/\./, $ip, 0)), 2) || "IP $ip" |