blib/lib/Text/Hogan/Template.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 45 | 59 | 76.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
77 | 16 | 0 | 0 | $partial->{'instance'} and $partial->{'base'} eq $template |
100 | 0 | 0 | 0 | $self->{'active_sub'} && $partials->{'stack_text'}{$self->{'active_sub'}} |
140 | 65 | 9 | 3 | XXX and not @$val |
148 | 26 | 11 | 37 | not $inverted and $pass |
37 | 0 | 37 | not $inverted and $pass and $ctx | |
176 | 14 | 0 | 23 | $key eq '.' and XXX |
192 | 29 | 4 | 4 | $return_found and not $val |
194 | 4 | 29 | 0 | not $return_found and XXX |
234 | 73 | 105 | 8 | not $return_found and XXX |
284 | 0 | 0 | 0 | $self->{'active_sub'} && $self->{'subs_text'} && $self->{'subs_text'}{$self->{'active_sub'}} |
line | l | !l | condition |
---|---|---|---|
13 | 145 | 4 | $code_obj ||= {} |
23 | 145 | 4 | $options || {} |
144 | 5 | $text || '' | |
145 | 4 | $code_obj->{'partials'} || {} | |
145 | 4 | $code_obj->{'subs'} || {} | |
50 | 117 | 0 | $str //= '' |
63 | 27 | 120 | $partials || {} |
93 | 2 | 14 | $partials->{'stack_text'} ||= {} |
325 | 1 | 15 | $stack_subs ||= {} |
338 | 1 | 15 | $stack_partials ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
23 | 145 | 0 | 4 | $code_obj->{'code'} || XXX && $orig->{'r'} |
145 | 4 | 0 | ref $orig || $orig | |
149 | 8 | 11 | 18 | XXX || XXX |