Branch Coverage

blib/lib/DTL/Fast/Template.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
84 38 2298 if (ref $context eq 'HASH') { }
0 2298 elsif (defined $context and ref $context ne 'DTL::Fast::Context') { }
98 2 2334 if $self->{'ssi_dirs'}
99 4 2332 if $self->{'url_source'}
103 2313 23 if (not exists $context->{'ns'}[-1]{'_dtl_include_path'}) { }
110 3 20 if (exists $context->{'ns'}[-1]{'_dtl_include_files'}{$template_path})
123 11 2322 if ($self->{'extends'}) { }
138 0 18 unless $parent_template_name
146 17 0 if (defined $current_descendant) { }
148 1 16 if ($inheritance{$current_descendant->{'file_path'}})