| blib/lib/Net/Prober/Probe/HTTP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 32 | 46.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 71 | 3 | 0 | 1 | $port != 80 and $port != 443 |
| 77 | 3 | 0 | 1 | $headers and ref $headers eq 'ARRAY' |
| 100 | 0 | 0 | 3 | defined $timeout and $timeout > 0 |
| 116 | 0 | 0 | 3 | $up_status_re && defined $status && $status |
| 0 | 0 | 3 | $up_status_re and defined $status | |
| 135 | 0 | 2 | 1 | $good and defined $expected_md5 |
| 143 | 0 | 2 | 1 | $good and defined $content_match |
| line | l | !l | condition |
|---|---|---|---|
| 38 | 3 | 0 | $Net::Prober::VERSION || 'dev' |
| 51 | 4 | 0 | $method ||= 'GET' |
| 55 | 3 | 1 | $port ||= 80 |
| 58 | 0 | 0 | $port ||= 443 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 117 | 0 | 0 | 0 | $resp->is_redirect || $resp->is_success |