Branch Coverage

blib/lib/Mojolicious/Plugin/ToolkitRenderer.pm
Criterion Covered Total %
branch 3 12 25.0


line true false branch
23 1 0 if $settings->{'context'}
37 1 0 $options->{$inline} ? :
0 1 unless ($template->process($options->{$inline} ? \$options->{$inline} : $renderer->template_name($options), {'content', $controller->content, %{$controller->stash;}, $settings->{'settings'}{'controller'} || 'c', $controller}, $output))
38 0 0 if (ref $settings->{'settings'}{'error_handler'} eq 'CODE') { }
42 0 0 unless ($template->error and $template->error eq 'file error - exception.html.tt: not found' || $template->error eq 'file error - exception.' . $app->mode . '.html.tt: not found')
52 0 0 $template->error && $template->error =~ /not found/u ? :