Branch Coverage

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


line true false branch
41 1 23 unless $self->_process_when($params)
45 0 23 unless defined $others
49 22 1 ref $others ? :
52 22 1 defined $self->minimum ? :
57 22 1 defined $self->maximum ? :
65 0 86 if DEBUG_CONSTRAINTS()
66 0 86 if DEBUG_CONSTRAINTS()
68 4 82 if (ref $value eq 'ARRAY') { }
71 4 0 unless (@errors or $@)
78 37 45 if ($ok and not $@)
84 7 16 $count < $min || $count > $max ? :
86 16 7 $pass ? :
97 45 42 if not defined $value or $value eq ''