blib/lib/Template/Extract/Run.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 27 | 70.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
108 | 44 | 131 | 0 | ref $val and $DEBUG |
114 | 0 | 0 | 1 | ref $val and $$val eq 'leave_loop' |
line | l | !l | condition |
---|---|---|---|
37 | 1 | 11 | $_[1] || {} |
41 | 4 | 12 | $loop{$_[1]} ||= {'name', $_[0], 'id', $_[1], 'count', -1} |
86 | 0 | 11 | $$obj{$var} ||= {} |
98 | 25 | 4 | $$obj{$var}[$index] ||= {} |
114 | 142 | 33 | $$cur{'pos'}{$num} ||= -1 |
122 | 36 | 139 | _traverse($data, @_)->{$$cur{'name'}}[$iteration] ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
69 | 1 | 6 | 0 | not exists $$entry{$$var} or @{$$entry{$$var};} |
97 | 0 | 29 | 0 | $_[-1] or $val |
114 | 174 | 0 | 1 | ($$cur{'pos'}{$num} ||= -1) != $-[$num] or ref $val and $$val eq 'leave_loop' |