Condition Coverage

blib/lib/EmbedIT/WebIT.pm
Criterion Covered Total %
condition 0 45 0.0


and 3 conditions

line !l l&&!r l&&r condition
854 0 0 0 $$conf{'EMBED_PERL'} == 1 and $path =~ /\.pl$/o
1039 0 0 0 defined $expiration and $expiration =~ /\d+/
1064 0 0 0 defined $expiration and $expiration =~ /\d+/
1097 0 0 0 defined $sub and exists &$sub
1114 0 0 0 defined $expiration and $expiration =~ /\d+/
1448 0 0 0 $cont eq '' and $split eq ''
1495 0 0 0 exists $$conf{'ERROR_PAGES'}{$code} and -e $$conf{'DOCUMENT_ROOT'} . $$conf{'ERROR_PAGES'}{$code} || exists $$conf{'DOCUMENTS'}{$$conf{'ERROR_PAGES'}{$code}}
0 0 0 exists $$conf{'ERROR_PAGES'}{'ALL'} and -e $$conf{'DOCUMENT_ROOT'} . $$conf{'ERROR_PAGES'}{'ALL'} || exists $$conf{'DOCUMENTS'}{$$conf{'ERROR_PAGES'}{'ALL'}}

or 2 conditions

line l !l condition
317 0 0 'IO::Socket::INET'->new('LocalAddr', $$conf{'SERVER_IP'}, 'LocalPort', $$conf{'SERVER_PORT'}, 'Proto', 'tcp', 'Reuse', 1, 'Listen', $$conf{'QUEUE_SIZE'}) || (return undef)
330 0 0 'IO::Socket::INET'->new('LocalAddr', $$conf{'SERVER_IP'}, 'LocalPort', $$conf{'SERVER_PORT'}, 'Proto', 'tcp', 'Reuse', 1, 'Listen', $$conf{'QUEUE_SIZE'}) || (return undef)
1908 0 0 $f || (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
356 0 0 0 not defined @ret or @ret == 0
512 0 0 0 not defined @ret or @ret == 0
765 0 0 0 $$conf{'IMMED_CLOSE'} or $$r{'HEADERS'}{'CONNECTION'} eq 'Close'
1495 0 0 0 -e $$conf{'DOCUMENT_ROOT'} . $$conf{'ERROR_PAGES'}{$code} || exists $$conf{'DOCUMENTS'}{$$conf{'ERROR_PAGES'}{$code}}
0 0 0 -e $$conf{'DOCUMENT_ROOT'} . $$conf{'ERROR_PAGES'}{'ALL'} || exists $$conf{'DOCUMENTS'}{$$conf{'ERROR_PAGES'}{'ALL'}}