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'}
74 1 5 unless $$arg{'attr'}{'href'}
77 1 4 if $$arg{'text'} and $$arg{'html'}
84 2 2 if ($$arg{'html'}) { }
85 1 1 ref $$arg{'html'} ? :
89 1 1 defined $$arg{'text'} ? :