Branch Coverage

blib/lib/WebNano/Renderer/TTiny.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
14 13 16 if (ref $_[0]) { }
0 16 elsif (not defined $_[0]) { }
30 23 0 if ($c)
36 0 23 unless (@search_path)
40 2 21 unless ($template)
45 0 2 if $self->TEMPLATE_EXTENSION
51 6 28 if (not $self->root or 'File::Spec'->file_name_is_absolute($path)) { }
53 4 2 if (-f $to_check)
61 18 22 if (-f $to_check)
69 1 22 unless ($full_template)
75 1 0 if (-f $to_check)
81 0 23 unless defined $full_template
82 0 23 unless open my $fh, $full_template
84 5 18 unless ($self->_tt_tiny)