Branch Coverage

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


line true false branch
28 1 0 if $settings->{'context'}
42 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))
43 0 0 if (ref $settings->{'settings'}{'error_handler'} eq 'CODE') { }
47 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')
57 0 0 $template->error && $template->error =~ /not found/u ? :