Condition Coverage

lib/HTTP/Server/Connection.pm
Criterion Covered Total %
condition 0 50 0.0


and 3 conditions

line !l l&&!r l&&r condition
86 0 0 0 not $req and $$self{'HSC_no_more'}
165 0 0 0 defined $cl and length $$refdata < $cl
195 0 0 0 $req and length $$refdata
0 0 0 $req and length $$refdata and $$self{'take_all'}
311 0 0 0 defined $text && length $text
329 0 0 0 defined $content and length $content
464 0 0 0 not $hide_symlinks and -l _

or 2 conditions

line l !l condition
107 0 0 $headers->header('Connection') || ''
127 0 0 $headers->header('Transfer-Encoding') || ''
128 0 0 $headers->header('Content-Length') || 0
130 0 0 $headers->header('Content-Type') || ''
340 0 0 $user_callback ||= sub { }
450 0 0 $opts{'filter'} || sub { 1; }
492 0 0 $filetype{$mode & S_IFMT()} || '?'

or 3 conditions

line l !l&&r !l&&!r condition
107 0 0 0 $req->protocol lt 'HTTP/1.1' or lc($headers->header('Connection') || '') ne 'keep-alive'
444 0 0 0 $opts{'names'} || qr/^[^.]/
488 0 0 0 $d{'is_file'} or $d{'is_directory'}
489 0 0 0 $users{$d{'uid'}} ||= getpwuid $d{'uid'}
490 0 0 0 $users{$d{'gid'}} ||= getgrgid $d{'gid'}