Branch Coverage

blib/lib/Catalyst/View/MojoTemplate.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
67 0 0 unless -e $root
83 0 0 if $self->has_layout and not exists $c->stash->{'view.layout'}
85 0 0 if (@args) { }
86 0 0 unless pop @args
99 0 0 unless $c->response->content_type
100 0 0 unless $c->response->body
118 0 0 unless (defined $template)
119 0 0 if $c->debug
130 0 0 if (ref $output)
142 0 0 if (my $layout = $self->find_layout($c))
143 0 0 if $c->debug
152 0 0 exists $c->stash->{'view.layout'} ? :
157 0 0 if $c->debug
170 0 0 if $c->debug
181 0 0 unless ($$self{"__mojo_helper_$ns"})
196 0 0 if $@
206 0 0 unless $c->stash
218 0 0 if %args
236 0 0 if $proto and not exists $c->stash->{'view.content'}{$name}
239 0 0 unless defined $value
247 0 0 if $proto
250 0 0 unless defined $value
258 0 0 if $proto
261 0 0 unless defined $value
268 0 0 if $proto
271 0 0 unless defined $value
279 0 0 ref $_[0] eq 'CODE' ? :
283 0 0 unless $self->helpers
285 0 0 if defined $helper