Branch Coverage

blib/lib/Validation/Class/Directive/Options.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
26 4 2 if (defined $field->{'options'} and defined $param)
30 4 0 if ($field->{'required'} or $param)
33 0 4 isa_arrayref($options) ? :
37 0 8 if ($option =~ /^([^\|]+)\|(.*)/) { }
0 8 elsif (isa_arrayref($option)) { }
45 2 2 unless (grep {$param eq $_;} @options)
47 2 0 if (my(@o) = @options)