Branch Coverage

blib/lib/Form/Factory/Feature/Control/Length.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
32 0 6 @_ == 1 ? :
34 0 5 if (defined $$args{'minimum'} and defined $$args{'maximum'} and $$args{'minimum'} >= $$args{'maximum'})
46 6 0 if $control->does('Form::Factory::Control::Role::ScalarValue')
56 1 14 if length $value == 0
58 3 11 if ($self->has_minimum and length $value < $self->minimum)
65 4 10 if ($self->has_maximum and length $value > $self->maximum)
72 2 12 unless $self->result->is_validated