blib/lib/Template/Plugin/LinkTarget.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 12 | 91.6 |
line | true | false | branch |
---|---|---|---|
42 | 3 | 7 | if ($$conf{'exclude'}) |
44 | 2 | 1 | ref $$conf{'exclude'} eq 'ARRAY' ? : |
57 | 16 | 0 | if ($tag eq 'a') |
59 | 5 | 11 | if (grep {$$attr{'href'} =~ /$_/;} @exclude) |
62 | 11 | 5 | if ($should_add) |
64 | 10 | 1 | unless (exists $$attr{'target'}) |