Branch Coverage

blib/lib/Template/Provider/Mojo.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
25 20 25 if (ref $name) { }
28 20 0 unless $error
29 20 0 unless $error
36 11 14 if (defined(my $path = $renderer->template_path($options))) { }
14 0 elsif (defined(my $d = $renderer->get_data_template($options))) { }
43 14 0 unless $error
44 14 0 unless $error
63 3 6 if (defined(my $path = $renderer->template_path($options))) { }
6 0 elsif (defined(my $d = $renderer->get_data_template($options))) { }
70 6 0 if $self->{'UNICODE'} and $self->{'ENCODING'}
77 0 9 if ($error) { }
78 0 0 $self->{'TOLERANT'} ? :
91 34 0 if ($name =~ /^(.+)\.(.+)\.(.+)\z/) { }
0 0 elsif ($name =~ /^(.+)\.(.+)\z/) { }