Branch Coverage

lib/Data/Processor.pm
Criterion Covered Total %
branch 30 42 71.4


line true false branch
105 2 32 if ($e->count > 0)
176 18 0 ref shift() eq 'Regexp' ? :
203 0 1 unless $parent->{'array'}
217 0 23 if (ref $value ne "HASH")
222 0 23 $e->count > 0 ? :
232 4 14 if (defined $blessed)
233 3 1 if $v->can("validate")
236 13 1 ref $v eq 'CODE' ? :
244 11 1 ref shift() eq 'CODE' ? :
278 0 12 unless exists $mergeNode->{$key}
292 35 1 unless defined $otherSubSchema->{$elem}{$key}
294 0 1 if (not defined $subSchema->{$elem}{$key}) { }
1 0 elsif ($subSchema->{$elem}{$key} ne $otherSubSchema->{$elem}{$key}) { }
304 0 6 unless (exists $subSchema->{$elem} and %{$subSchema->{$elem};})
310 0 6 if (exists $otherSubSchema->{$elem}{'members'})
311 0 0 unless exists $subSchema->{$elem}{'members'}
321 2 3 if ($otherSubSchema->{$elem}{'transformer'})
324 1 1 if $subSchema->{$elem}{'transformer'} and $subSchema->{$elem}{'transformer'} != $otherSubSchema->{$elem}{'transformer'}
331 4 0 unless $subSchema->{$elem}{'optional'} and $otherSubSchema->{$elem}{'optional'}
334 3 1 if ($otherSubSchema->{$elem}{'validator'})
335 2 1 if (my $validator = $subSchema->{$elem}{'validator'} and $subSchema->{$elem}{'validator'} != $otherSubSchema->{$elem}{'validator'}) { }