Condition Coverage

blib/lib/Net/Prober/Probe/HTTP.pm
Criterion Covered Total %
condition 14 32 43.7


and 3 conditions

line !l l&&!r l&&r condition
68 3 0 1 $port != 80 and $port != 443
74 3 0 1 $headers and ref $headers eq 'ARRAY'
97 0 0 3 defined $timeout and $timeout > 0
113 0 0 3 $up_status_re && defined $status && $status
0 0 3 $up_status_re and defined $status
132 0 3 0 $good and defined $expected_md5
140 0 1 2 $good and defined $content_match

or 2 conditions

line l !l condition
35 3 0 $Net::Prober::VERSION || 'dev'
48 4 0 $method ||= 'GET'
52 3 1 $port ||= 80
55 0 0 $port ||= 443

or 3 conditions

line l !l&&r !l&&!r condition
114 0 0 0 $resp->is_redirect || $resp->is_success