Condition Coverage

blib/lib/Net/HTTPServer.pm
Criterion Covered Total %
condition 3 63 4.7


and 3 conditions

line !l l&&!r l&&r condition
522 3 0 0 $self->_arg('ssl', 0) && $Net::HTTPServer::SSL
547 0 3 0 ref $$self{'DEBUG'} eq 'ARRAY' and $#{$$self{'DEBUG'};} > -1
674 0 0 0 defined $timestop and $timestop - time <= 0
696 0 0 0 $method ne 'basic' and $method ne 'digest'
810 0 0 0 defined $$self{'CFG'}{'SSL_KEY'} and defined $$self{'CFG'}{'SSL_CERT'}
0 0 0 defined $$self{'CFG'}{'SSL_KEY'} and defined $$self{'CFG'}{'SSL_CERT'} and defined $$self{'CFG'}{'SSL_CA'}
888 0 0 0 exists $$self{'SELECT'} and defined $$self{'SELECT'}
893 0 0 0 exists $$self{'SOCK'} and defined $$self{'SOCK'}
1105 0 0 0 $requestObj->Header('Transfer-Encoding') and $requestObj->Header('Transfer-Encoding') ne 'identity'
1124 0 0 0 defined $$self{'CFG'}{'DOCROOT'} and -e $$self{'CFG'}{'DOCROOT'} . '/' . $reqPath
1403 0 0 0 $ext ne '' and exists $$self{'MIMETYPES'}{$ext}
1518 0 0 0 $file eq '..' and $path eq '/'
1751 0 0 0 not $met_expectation and $request =~ /^Expect\s*:\s*(.+?)\015?\012?$/im
1867 0 0 0 $length != 0 and $select->can_write
2311 0 0 0 exists $$auth{'qop'} and $$auth{'qop'} eq 'auth'

or 3 conditions

line l !l&&r !l&&!r condition
488 0 3 0 ref $proto || $proto
701 0 0 0 $method eq 'basic' or $method eq 'digest'
1348 0 0 0 $responseObj->Header('Content-Type') eq 'text/html' or $responseObj->Header('Content-Type') eq 'text/plain'
2242 0 0 0 exists $$self{'DEBUGZONES'}{$zone} or exists $$self{'DEBUGZONES'}{'ALL'}
2390 0 0 0 $^O eq 'MSWin32' or $^O eq 'cygwin'
2402 0 0 0 fcntl($socket, 3, 0) || croak("Can't get flags for socket: $!\n")