Condition Coverage

blib/lib/POE/Component/Server/SimpleContent.pm
Criterion Covered Total %
condition 21 54 38.8


and 3 conditions

line !l l&&!r l&&r condition
29 0 0 7 $params{'root_dir'} and -d $params{'root_dir'}
43 7 0 0 defined $self->{'auto_index'} and $self->{'auto_index'} == 0
59 7 0 0 defined $options && ref $options eq 'HASH'
99 0 0 30 $response and $response->isa('HTTP::Response')
101 0 0 30 $request and $request->isa('HTTP::Request')
119 12 0 0 $self->{'auto_index'} and not $self->{'vdir'}->test('e', $realpath . $self->{'index_file'})
376 0 0 3 ref $handler and ref $handler eq 'HASH'

or 2 conditions

line l !l condition
213 9 0 shift() || (return)
218 9 0 shift() || (return)
228 6 0 shift() || (return)
233 6 0 shift() || (return)
243 6 0 shift() || (return)
244 6 0 shift() || (return)
249 6 0 shift() || (return)
250 6 0 shift() || (return)
261 0 0 shift() || (return)
262 0 0 shift() || (return undef)
319 6 0 shift() || (return)
320 6 0 shift() || (return)
321 6 0 shift() || (return)
375 3 0 shift() || (return)
398 3 0 shift() || (return)

or 3 conditions

line l !l&&r !l&&!r condition
330 0 0 6 $^O eq 'MSWin32' or $self->{'blocking'}