| blib/lib/HTML/FormFu/Constraint/DependOn.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 26 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 0 | 10 | unless ($self->_process_when($params)) |
| 21 | 0 | 0 | if DEBUG_CONSTRAINTS() |
| 26 | 0 | 10 | unless (defined $others) |
| 27 | 0 | 0 | if DEBUG_CONSTRAINTS() |
| 31 | 6 | 4 | ref $others ? : |
| 36 | 0 | 10 | unless ($self->constrain_value($value)) |
| 37 | 0 | 0 | if DEBUG_CONSTRAINTS() |
| 46 | 0 | 16 | if (ref $value eq 'ARRAY') { } |
| 48 | 0 | 0 | unless @err or $@ |
| 52 | 0 | 16 | if $@ |
| 55 | 5 | 11 | unless ($ok) |
| 60 | 5 | 5 | @failed ? : |
| 70 | 5 | 21 | if not defined $value or $value eq '' |