Branch Coverage

blib/lib/Statocles/Template.pm
Criterion Covered Total %
branch 24 30 80.0


line true false branch
136 2235 774 if ($self->theme)
147 0 284 if ($_[0] eq '-raw')
158 1 5 unless exists $args{'site'}
164 63 912 if ($content) { }
107 805 elsif ($section) { }
165 60 3 if (ref $content eq 'CODE')
180 4 3005 if (&blessed($content) and $content->isa('Mojo::Exception'))
212 0 284 if ($path[0] eq '-raw')
223 3 3 if ($store->has_file($path))
224 3 0 if ($render)
232 0 281 !$render ? :
234 2 279 if ($@ and $@ =~ /^Can not find include/)
256 0 0 if ref $value
280 1 5854 unless defined $_[0]
281 13 5841 !ref($_[0]) ? :