Branch Coverage

blib/lib/Template/Plugin/NoFollow.pm
Criterion Covered Total %
branch 9 10 90.0


line true false branch
41 3 8 if ($conf->{'allow'})
44 2 1 ref $conf->{'allow'} eq 'ARRAY' ? :
53 16 0 if ($tag eq 'a')
55 4 12 if (grep {$attr->{'href'} =~ /$_/;} @allow)
58 12 4 if ($should_nofollow)