blib/lib/Plack/App/Hash.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 20 | 65.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
27 | 0 | 1 | 15 | $content and exists $$content{$path} |
47 | 1 | 0 | 2 | $auto &&= do { require Plack::MIME; 'Plack::MIME'->mime_type($path) } |
line | l | !l | condition |
---|---|---|---|
23 | 16 | 0 | $$env{'PATH_INFO'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
30 | 13 | 1 | 0 | $self->headers || $self->headers({}) |
45 | 3 | 2 | 7 | $auto or $default |
48 | 2 | 1 | 0 | $auto or $default |
3 | 0 | 0 | $auto or $default or () |