Branch Coverage

blib/lib/HTML/Template/Nest.pm
Criterion Covered Total %
branch 34 44 77.2


line true false branch
18 2 0 unless $self->{'comment_tokens'}
19 1 1 unless $self->{'name_label'}
20 1 1 unless defined $self->{'template_dir'}
21 1 1 unless defined $self->{'template_ext'}
22 2 0 unless defined $self->{'show_labels'}
31 0 12 if $dir and ref $dir
32 1 11 if $dir
39 2 1 if (defined $token1)
52 0 13 if $show and not $show == 0 || $show == 1
53 2 11 if $show
60 0 12 if defined $ext and ref $ext
61 1 11 if defined $ext
68 0 32 if defined $label and ref $label
69 1 31 if $label
78 2 14 if (ref($comp) =~ /array/i) { }
10 4 elsif (ref($comp) =~ /hash/i) { }
94 0 10 unless ref($h) =~ /hash/i
98 0 10 unless $template_name
103 10 10 if $k eq $self->name_label
116 5 5 if ($self->show_labels)
134 0 2 unless ref($arr) =~ /array/i
137 0 4 if $delim and $html