blib/lib/Plack/Middleware/DebugLogging.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 27 | 48.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
101 | 2 | 0 | 1 | $keywords and $self->keywords |
109 | 2 | 0 | 2 | $request->content and $self->body_params |
112 | 2 | 1 | 1 | $request->content and not +($request->content_type || '') =~ /www-form-urlencoded/ |
262 | 0 | 0 | 0 | exists $ENV{'COLUMNS'} and $ENV{'COLUMNS'} =~ /^\d+$/ |
267 | 0 | 0 | 0 | $width and $width >= 80 |
line | l | !l | condition |
---|---|---|---|
91 | 4 | 0 | $method ||= '' |
93 | 4 | 0 | $address ||= '' |
112 | 2 | 0 | $request->content_type || '' |
134 | 4 | 0 | $response->code || 'unknown' |
4 | 0 | $response->headers->header('Content-Type') || 'unknown' | |
0 | 4 | $response->headers->header('Content-Length') || 'unknown' |