Branch Coverage

blib/lib/Validation/Class/Directive/Validation.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
61 12 3 if (defined $field->{'validation'} and defined $param)
66 2 10 !$field->validation->($context, $field, $proto->params) ? :
67 0 12 $proto->errors->count + $field->errors->count > $count ? :
72 10 2 if (not $failed || $errors) { }
2 0 elsif ($failed and not $errors) { }
0 0 elsif (not $failed and $errors) { }
0 0 elsif ($failed and $errors) { }