Branch Coverage

blib/lib/Text/Template/Simple/Caller.pm
Criterion Covered Total %
branch 16 26 61.5


line true false branch
25 0 8 if ref $opt ne 'HASH'
33 32 320 if $id == 5
37 0 32 $c[5] ? :
32 0 defined $c[5] ? :
41 32 0 $c[4] ? :
57 0 8 unless @callers
58 0 8 unless $type
60 8 0 if ($self->can(my $method = '_' . $type))
73 4 0 $opt->{'name'} ? :
81 2 2 if $is_html
151 16 64 if (not defined $struct->{$id} or $struct->{$id} eq '')
163 0 2 unless $ok
188 2 0 $opt->{'name'} ? :