Branch Coverage

blib/lib/WebNano/Renderer/TT.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
29 15 3 if (ref $_[0]) { }
2 1 elsif (not defined $_[0]) { }
44 7 4 if ($c)
50 4 7 unless (@input_path)
56 0 29 if ('File::Spec'->file_name_is_absolute($sub_path)) { }
66 1 10 unless ($template)
71 0 1 if $self->TEMPLATE_EXTENSION
75 0 11 unless ($tt->process($template, \%params, \$output))