lib/Dancer/Template/Caribou.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 18 | 61.1 |
line | true | false | branch |
---|---|---|---|
74 | 1 | 0 | unless find_meta($name) |
91 | 0 | 1 | if $@ |
106 | 0 | 3 | if $self->layout_class->{$segment} |
110 | 3 | 0 | unless find_meta($name) |
132 | 0 | 3 | if $@ |
156 | 1 | 3 | unless ($class) |
161 | 0 | 1 | unless eval { do { $c->DOES('Template::Caribou::Role') } } |
165 | 1 | 3 | if (my $lay = 'Dancer::App'->current->setting('layout')) |
166 | 0 | 1 | unless my $role = $self->layout_class->{$lay} |