blib/lib/Plack/Middleware/ServerStatus/Lite.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 31 | 70.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
57 | 48 | 14 | 21 | $self->counter_file and not -f $self->counter_file |
72 | 0 | 61 | 9 | $self->path and $$env{'PATH_INFO'} eq $self->path |
212 | 9 | 12 | 11 | $$pstatus{'status'} and $$pstatus{'status'} eq 'A' |
line | l | !l | condition |
---|---|---|---|
115 | 138 | 0 | shift() || '_' |
209 | 23 | 9 | $json || '{}' |
211 | 32 | 0 | $pstatus ||= {} |
246 | 1 | 8 | $$env{'QUERY_STRING'} || '' |
278 | 60 | 0 | $count ||= 1 |
279 | 60 | 0 | $bytes ||= 0 |
286 | 60 | 0 | $counter ||= 0 |
287 | 60 | 0 | $total_bytes ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
222 | 23 | 9 | 0 | $$pstatus{'pid'} ||= $pid |
270 | 4 | 0 | 16 | not $len or $buf != $parent_pid |