Branch Coverage

blib/lib/XHTML/Instrumented/Form/Element.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
32 0 0 if ref $_[0]
35 0 0 if (my $data = $$self{'onclick'})
63 0 0 if (defined $$self{'value'}) { }
68 0 0 if (ref $x)
84 0 0 unless $$self{'name'}
94 0 0 if ($self->type eq 'text') { }
0 0 elsif ($self->type eq 'hidden') { }
0 0 elsif ($self->type eq 'textarea') { }
0 0 elsif ($self->type eq 'checkbox') { }
0 0 elsif ($self->type eq 'radio') { }
0 0 elsif ($self->type eq 'checkboxes') { }
0 0 elsif ($self->type eq 'submit') { }
101 0 0 if ($self->checked($ret{'value'}))
105 0 0 if ($ret{'value'} eq $self->value)
122 0 0 if ($self->type eq 'textarea')
133 0 0 if $p{'tag'} eq 'form'
143 0 0 unless $$self{'optional'}
149 0 0 unless $$self{'required'}