Branch Coverage

blib/lib/HTML/Widget/Container.pm
Criterion Covered Total %
branch 26 32 81.2


line true false branch
52 8 0 if $self->element
53 0 8 if $self->javascript
54 2 6 if $self->error
76 8 250 unless $element
78 0 250 if (ref $element eq 'ARRAY')
127 21 229 if ($self->error and $element->tag eq 'input')
154 196 54 unless defined $self->label
159 2 52 if ($class eq 'radiogroup_fieldset') { }
12 77 elsif ($self->error and $element->tag eq 'span') { }
167 0 12 unless ref $$elem
168 1 11 if ($$elem->attr('class') eq 'radiogroup_fieldset')
175 51 3 unless ($radiogroup)
178 14 37 $class eq 'checkbox' || $class eq 'radio' ? :
199 0 360 if $self->javascript
200 26 334 if $self->error
244 4 0 $self->error ? :