Branch Coverage

blib/lib/HTML/Form/TextInput.pm
Criterion Covered Total %
branch 10 10 100.0


line true false branch
18 36 80 unless defined $old
19 24 92 if (@_)
21 2 4 if $self->{'strict'} and $self->{'readonly'}
23 4 18 exists $self->{'maxlength'} ? :
26 1 1 if $self->{'strict'} and defined $n and defined $new and length $new > $n