Branch Coverage

blib/lib/Dancer2/Plugin/FormValidator/Validator.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
28 0 19 if (ref $profile ne "HASH")
43 65 0 if (my($name, $params) = $self->_split_validator_declaration($validator_declaration))
46 23 42 unless ($validator->validate($field, $input, split(/,/, $params, 0)))
51 9 56 if (not $is_valid and $validator->stop_on_fail)
57 18 23 if ($is_valid == 1)
62 5 14 unless (@invalid)