Branch Coverage

blib/lib/MojoX/Renderer/Xslate.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
29 3 0 if ($app) { }
44 2 1 unless $args{'template_options'}
66 0 21 if (defined(my $inline = $options->{'inline'})) { }
69 2 19 if (defined $renderer->template_path($options)) { }
11 8 elsif (defined(my $data_template = $renderer->get_data_template($options))) { }
80 4 17 if $xslate_err
82 4 17 if ($@)
84 4 0 if (index($@, q[Text::Xslate: LoadError: Cannot find 'exception.]) < 0 and index($@, q[Text::Xslate: LoadError: Cannot find 'not_found.]) < 0)
87 4 0 unless $orig_err