| blib/lib/Dancer/Template/Handlebars.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 14 | 71.4 |
| line | true | false | branch |
|---|---|---|---|
| 37 | 2 | 0 | if (my $h = $self->config->{'helpers'}) |
| 38 | 2 | 0 | ref $h ? : |
| 41 | 0 | 2 | if $@ |
| 77 | 2 | 8 | if ref $view |
| 80 | 8 | 8 | if -f join('/', $self->views_root, $view_path) |
| 95 | 1 | 0 | if (-e join('/', $dir, $layout_name)) { } |
| 116 | 1 | 5 | if (ref $template) |