Branch Coverage

blib/lib/HTML/Template/Pluggable.pm
Criterion Covered Total %
branch 20 32 62.5


line true false branch
51 0 129 unless scalar @_
58 4 58 unless (scalar @_ or length $type)
59 0 4 $$options{'case_sensitive'} ? :
62 0 4 if $$options{'die_on_bad_params'} and not exists $$param_map{$param}
65 0 4 unless exists $$param_map{$param} and defined $$param_map{$param}
68 4 0 if ref $$param_map{$param} eq 'HTML::Template::VAR'
73 58 67 if (not scalar @_) { }
74 0 0 unless $type eq 'HASH' or ref $first and UNIVERSAL::isa($first, 'HASH')
82 0 125 unless @_ % 2 == 0
91 0 123 $$options{'case_sensitive'} ? :
95 108 15 if $$self{'param_map_done'}{$param}
98 1 14 if $$options{'die_on_bad_params'} and not exists $$param_map{$param}
103 0 14 unless exists $$param_map{$param}
108 2 12 if (defined $value_type and length $value_type and $value_type eq 'ARRAY' || !(ref($value) =~ /^(CODE)|(HASH)|(SCALAR)$/) && $value->isa('ARRAY')) { }
109 0 2 unless ref $$param_map{$param} eq 'HTML::Template::LOOP'
113 0 12 unless ref $$param_map{$param} eq 'HTML::Template::VAR'