Branch Coverage

blib/lib/Template/Plex.pm
Criterion Covered Total %
branch 29 42 69.0


line true false branch
45 6 15 if (ref $self) { }
50 2 4 $vars ? :
2 4 %opts ? :
68 4 6 if (ref $self) { }
69 0 4 if $self->[7]{$id}
75 1 5 if $top_level_cache{$id}
89 4 0 if $template
120 20 21 if $self->[5]
122 0 21 unless ($self->isa("Template::Plex"))
154 0 21 if ($self->[1]{'package'} eq caller)
162 0 21 unless ($self->[5])
184 3 3 if ($data->isa('Template::Plex')) { }
186 2 1 if ($slot_name eq 'default') { }
206 0 3 unless ($parent)
211 3 0 if (@_) { }
234 0 0 if ($parent) { }
250 0 0 if ($parent) { }
286 21 38 unless ($self->init_done_flag)
296 18 20 if (not $top_down) { }
311 2 18 if ($self->[8] and %{$self->[8]})
333 0 0 if $_[0][4]