Branch Coverage

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


line true false branch
35 532 2618 unless keys %{$arguments;}
54 65323 0 unless (defined $self->{$key})
56 1 65322 if ('Validation::Class::Directive' eq ref $value) { }
65322 0 elsif (isa_classref($value)) { }
0 0 elsif (isa_hashref($value)) { }
61 65322 0 if ($value->isa('Validation::Class::Directive'))
108 0 52701 if (grep {$_ eq $k;} @{$$dependencies{$k};}) { }
11850 40851 elsif (grep {not exists $found{$_};} @{$$dependencies{$k};}) { }
119 0 11850 if grep {not exists $dependencies->{$_};} @{$$dependencies{$k};}
124 0 11850 if $track{$k} and $track{$k} > $limit
126 11850 0 if push @pending, $k
148 0 56900 if $a > $b