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