Branch Coverage

blib/lib/Validation/Class/Directive/Date.pm
Criterion Covered Total %
branch 8 12 66.6


line true false branch
24 5 0 if (defined $field->{'date'} and defined $param)
46 5 0 if ($field->{'required'} or $param)
50 0 5 $type eq '1' ? :
0 5 isa_arrayref($type) ? :
56 2 3 if ($param =~ /$dtre->{$_}/)
63 3 2 unless $is_valid