blib/lib/Net/Prober/Probe/HTTP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 32 | 40.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
68 | 2 | 0 | 1 | $port != 80 and $port != 443 |
74 | 2 | 0 | 1 | $headers and ref $headers eq 'ARRAY' |
97 | 0 | 0 | 2 | defined $timeout and $timeout > 0 |
113 | 0 | 0 | 2 | $up_status_re && defined $status && $status |
0 | 0 | 2 | $up_status_re and defined $status | |
132 | 0 | 2 | 0 | $good and defined $expected_md5 |
140 | 0 | 1 | 1 | $good and defined $content_match |
line | l | !l | condition |
---|---|---|---|
35 | 2 | 0 | $Net::Prober::VERSION || 'dev' |
48 | 3 | 0 | $method ||= 'GET' |
52 | 3 | 0 | $port ||= 80 |
55 | 0 | 0 | $port ||= 443 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
114 | 0 | 0 | 0 | $resp->is_redirect || $resp->is_success |