blib/lib/MojoX/Renderer/Haml.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 20 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
56 | 11 | 0 | 0 | $c->app->mode ne 'development' and $haml |
11 | 0 | 0 | $c->app->mode ne 'development' and $haml and $haml->compiled | |
71 | 11 | 0 | 0 | $path and -r $path |
line | l | !l | condition |
---|---|---|---|
47 | 10 | 1 | $$r{'_haml_cache'} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
44 | 0 | 11 | 0 | $path || $name |
65 | 3 | 8 | 0 | $haml ||= 'Text::Haml'->new('escape', $ESCAPE, %{$$self{'haml_args'};}) |
95 | 3 | 5 | 0 | $$r{'_haml_cache'}{$cache} ||= $haml |