Branch Coverage

blib/lib/Dancer2/Template/Caribou.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
72 3 0 unless find_meta($name)
89 0 3 if $@
104 0 12 if $self->layout_class->{$segment}
108 12 0 unless find_meta($name)
137 0 12 if $@
156 2 4 unless ($class)
161 0 2 unless eval { do { $c->DOES('Template::Caribou::Role') } }
165 2 4 if (my $lay = $self->layout || $self->settings->{'layout'})
166 0 2 unless my $role = $self->layout_class->{$lay}