Condition Coverage

blib/lib/Plack/Middleware/ServerStatus/Lite.pm
Criterion Covered Total %
condition 22 31 70.9


and 3 conditions

line !l l&&!r l&&r condition
57 46 14 21 $self->counter_file and not -f $self->counter_file
72 0 61 8 $self->path and $env->{'PATH_INFO'} eq $self->path
214 12 12 12 $pstatus->{'status'} and $pstatus->{'status'} eq 'A'

or 2 conditions

line l !l condition
115 138 0 shift() || '_'
211 24 12 $json || '{}'
213 36 0 $pstatus ||= {}
248 1 7 $env->{'QUERY_STRING'} || ''
280 60 0 $count ||= 1
281 60 0 $bytes ||= 0
288 60 0 $counter ||= 0
289 60 0 $total_bytes ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
224 24 12 0 $pstatus->{'pid'} ||= $pid
272 4 0 16 not $len or $buf != $parent_pid