blib/lib/HTML/TagParser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 33 | 41 | 80.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
239 | 6 | 0 | 12 | not $src =~ /[<>|]/ and -f $src |
286 | 13 | 1 | 11 | $charset and &Encode::find_encoding($charset) |
391 | 20 | 16 | 0 | defined $$elem[2] and $$elem[2] =~ m[/$] |
483 | 13 | 1 | 2 | $$flat[$idx][0] and defined $$flat[$idx][6] |
490 | 0 | 14 | 0 | defined $closing and $closing == $cur || $closing == $cur - 1 |
625 | 115 | 154 | 9 | not $$e[0] and $$e[6] |
641 | 6 | 1 | 0 | $$e[0] and defined $$e[6] |
658 | 3 | 2 | 3 | not $$e[0] and $$e[6] |
line | l | !l | condition |
---|---|---|---|
612 | 19 | 25 | $$flat[$cur][2] || '' |
622 | 132 | 146 | $$e[2] || '' |
637 | 6 | 39 | $$e[2] || '' |
650 | 6 | 11 | $$e[2] || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
285 | 0 | 12 | 13 | $$self{'charset'} ||= $charset |
490 | 0 | 2 | 12 | $closing == $cur || $closing == $cur - 1 |
538 | 1438 | 0 | 556 | $3 || $4 |