Branch Coverage

blib/lib/Validation/Class/Directive/Decimal.pm
Criterion Covered Total %
branch 6 10 60.0


line true false branch
24 4 0 if (defined $field->{'decimal'} and defined $param)
32 4 0 if ($field->{'required'} or $param)
43 0 4 if ($type == 0) { }
4 0 elsif ($type == 1) { }
57 2 2 unless $param =~ /$dre/