Branch Coverage

blib/lib/HTML/FormFu/Constraint/MinMaxFields.pm
Criterion Covered Total %
branch 22 26 84.6


line true false branch
40 1 23 unless $self->_process_when($params)
44 0 23 unless defined $others
48 22 1 ref $others ? :
51 22 1 defined $self->minimum ? :
56 22 1 defined $self->maximum ? :
64 0 86 if DEBUG_CONSTRAINTS()
65 0 86 if DEBUG_CONSTRAINTS()
67 4 82 if (ref $value eq 'ARRAY') { }
70 4 0 unless (@errors or $@)
77 37 45 if ($ok and not $@)
83 7 16 $count < $min || $count > $max ? :
85 16 7 $pass ? :
96 45 42 if not defined $value or $value eq ''