Condition Coverage

blib/lib/Catalyst/Engine/HTTP.pm
Criterion Covered Total %
condition 1 31 3.2


and 3 conditions

line !l l&&!r l&&r condition
64 0 0 0 $$self{'options'}{'keepalive'} and $connection
0 0 0 $$self{'options'}{'keepalive'} and $connection and $connection =~ /^keep-alive$/i

or 2 conditions

line l !l condition
20 0 1 $ENV{'CATALYST_HTTP_DEBUG'} || 0
182 0 0 $options ||= {}
195 0 0 $$options{'allowed'} || {'127.0.0.1', '255.255.255.255'}
347 0 0 $path || ''
0 0 $query_string || ''
0 0 $method || ''
431 0 0 $3 || 'HTTP/0.9'
497 0 0 gethostbyaddr($iaddr, AF_INET()) || 'localhost'
0 0 inet_ntoa($iaddr) || '127.0.0.1'
0 0 gethostbyaddr($localiaddr, AF_INET()) || 'localhost'
0 0 inet_ntoa($localiaddr) || '127.0.0.1'

or 3 conditions

line l !l&&r !l&&!r condition
202 0 0 0 gethostbyaddr($addr, AF_INET()) || inet_ntoa($addr)