Branch Coverage

blib/lib/HTML/FormFu/Constraint/DependOn.pm
Criterion Covered Total %
branch 13 26 50.0


line true false branch
21 0 10 unless ($self->_process_when($params))
22 0 0 if DEBUG_CONSTRAINTS()
27 0 10 unless (defined $others)
28 0 0 if DEBUG_CONSTRAINTS()
32 6 4 ref $others ? :
37 0 10 unless ($self->constrain_value($value))
38 0 0 if DEBUG_CONSTRAINTS()
47 0 16 if (ref $value eq 'ARRAY') { }
49 0 0 unless @err or $@
53 0 16 if $@
56 5 11 unless ($ok)
61 5 5 @failed ? :
71 5 21 if not defined $value or $value eq ''