blib/lib/HTML/Expander.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 39 | 69.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
265 | 79 | 8 | 18 | $value and not $$visited{"${mode}::$tag"} |
line | l | !l | condition |
---|---|---|---|
52 | 7 | 0 | shift() || 'main' |
55 | 5 | 2 | $$self{'TAGS'}{$mode} ||= {} |
65 | 3 | 0 | shift() || 'main' |
68 | 3 | 0 | $$self{'VARS'}{$mode} ||= {} |
138 | 59 | 3 | shift() || 0 |
139 | 59 | 3 | shift() || {} |
162 | 2 | 18 | $$self{'MODE'}[0] || 'main' |
186 | 38 | 5 | $4 || $5 || $6 || 1 |
193 | 2 | 0 | $args{'name'} || 'main' |
194 | 2 | 0 | $$self{'MODE'}[0] || 'main' |
200 | 0 | 2 | $$self{'MODE'}[0] || 'main' |
262 | 50 | 55 | $$self{'MODE'}[0] || 'main' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
23 | 0 | 1 | 0 | ref $pack || $pack |
163 | 10 | 3 | 7 | $$self{'VARS'}{$mode}{$var} || $$self{'ENV'}{$var} |
203 | 0 | 2 | 107 | $tag_lc eq 'include' or $tag_lc eq 'inc' |
286 | 0 | 0 | 0 | $$self{'WARNINGS'} or $$self{'WARN'} |