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'} |
102 | 1 | 5 | unless $self->__is_valid_type($$arg{'attr'}{'type'}) |
105 | 1 | 4 | if $$arg{'text'} and $$arg{'html'} |
112 | 2 | 2 | if ($$arg{'html'}) { } |
113 | 1 | 1 | ref $$arg{'html'} ? : |
117 | 1 | 1 | defined $$arg{'text'} ? : |