blib/lib/Mojolicious/Plugin/TemplateToolkit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 16 | 68.7 |
line | true | false | branch |
---|---|---|---|
23 | 11 | 3 | defined $inline ? : |
24 | 0 | 14 | unless defined($name //= $renderer->template_name($options)) |
40 | 11 | 3 | if (defined $inline) { } |
42 | 0 | 11 | unless $tt->process(\$inline, \%params, $output) |
48 | 1 | 2 | if (defined(my $path = $renderer->template_path($options))) { } |
2 | 0 | elsif (defined(my $d = $renderer->get_data_template($options))) { } | |
50 | 0 | 1 | unless $tt->process($name, \%params, $output) |
56 | 0 | 2 | unless $tt->process(\$d, \%params, $output) |