Branch Coverage

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


line true false branch
99 2 4 unless defined $arg->{'attr'}{'name'}
103 1 5 unless $self->__is_valid_type($arg->{'attr'}{'type'})
106 1 1 if $arg->{'text'} and $arg->{'html'}
112 2 2 if ($arg->{'html'}) { }
115 1 1 ref $arg->{'html'} ? :
119 1 1 defined $arg->{'text'} ? :