Branch Coverage

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


line true false branch
25 0 8 unless ishref($opt)
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'} ? :
84 2 2 if $is_html
154 16 64 if (not defined $$struct{$id} or $$struct{$id} eq '')
166 0 2 unless $ok
191 2 0 $$opt{'name'} ? :