Branch Coverage

blib/lib/Validation/Class/Directives.pm
Criterion Covered Total %
branch 14 24 58.3


line true false branch
35 538 2639 unless keys %{$arguments;}
54 65917 0 unless (defined $self->{$key})
56 1 65916 if ('Validation::Class::Directive' eq ref $value) { }
65916 0 elsif (isa_classref($value)) { }
0 0 elsif (isa_hashref($value)) { }
61 65916 0 if ($value->isa("Validation::Class::Directive"))
108 0 53034 if (grep {$_ eq $k;} @{$$dependencies{$k};}) { }
11865 41169 elsif (grep {not exists $found{$_};} @{$$dependencies{$k};}) { }
119 0 11865 if grep {not exists $dependencies->{$_};} @{$$dependencies{$k};}
124 0 11865 if $track{$k} and $track{$k} > $limit
126 11865 0 if push @pending, $k
148 0 57355 if $a > $b