blib/lib/HTML/Subtext.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 14 | 78.5 |
line | true | false | branch |
---|---|---|---|
26 | 28 | 0 | if ($output) { } |
28 | 14 | 14 | if ($type eq 'ARRAY') { } |
14 | 0 | elsif ($type eq 'SCALAR') { } | |
46 | 4 | 8 | if ($tag eq 'a' and $_[1]{'href'} =~ /^subtext:(.*)/) { } |
48 | 0 | 4 | unless ($$self{'subtext'} = $$self{'CONTEXT'}{uri_unescape($1)}) |
58 | 4 | 8 | if ($$self{'subtext'}) { } |
69 | 4 | 8 | if ($$self{'subtext'} and $tag eq 'a') { } |