blib/lib/Plack/Middleware/File/Less.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 12 | 66.6 |
line | true | false | branch |
---|---|---|---|
20 | 0 | 1 | if ($less) { } |
1 | 0 | elsif (eval { | |
49 | 2 | 1 | if ($env->{'PATH_INFO'} =~ s/\.css$/.less/i) |
52 | 0 | 2 | unless ref $res eq 'ARRAY' |
54 | 1 | 1 | if ($res->[0] == 200) { } |
1 | 0 | elsif ($res->[0] == 404) { } |