Branch Coverage

blib/lib/HTML/Widget/Plugin/Link.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
72 4 2 unless defined $arg->{'attr'}{'name'}
75 1 5 unless $arg->{'attr'}{'href'}
78 1 1 if $arg->{'text'} and $arg->{'html'}
84 2 2 if ($arg->{'html'}) { }
87 1 1 ref $arg->{'html'} ? :
89 1 1 defined $arg->{'text'} ? :