Branch Coverage

blib/lib/MojoX/Renderer/Alloy.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
19 0 8 if ref $self eq 'MojoX::Renderer::Alloy'
45 0 8 unless $args{'template_options'}
57 8 0 $inc_path ? :
69 0 44 if defined $inline
71 26 18 unless defined $path and defined $tname
77 18 0 -r $path ? :
0 18 ref $path ? :
78 0 0 if ($r->get_data_template($options, $tname)) { }
120 0 8 if $method =~ /^[A-Z]+?$/
121 0 8 if $method =~ /^_/
122 0 8 if $method =~ /(?:\:*?)DESTROY$/
126 4 4 unless $self->ctx->app->renderer->helpers->{$method}