Branch Coverage

lib/Data/Processor.pm
Criterion Covered Total %
branch 26 40 65.0


line true false branch
105 2 31 if ($e->count > 0)
177 18 0 ref shift() eq 'Regexp' ? :
207 0 1 unless $parent->{'array'}
221 0 20 if (ref $value ne "HASH")
226 0 20 $e->count > 0 ? :
236 4 11 if (defined $blessed)
237 3 1 if $v->can("validate")
240 10 1 ref $v eq 'CODE' ? :
248 6 1 ref shift() eq 'CODE' ? :
282 0 6 unless exists $mergeNode->{$key}
296 14 1 unless defined $otherSubSchema->{$elem}{$key}
298 0 1 if (not defined $subSchema->{$elem}{$key}) { }
1 0 elsif ($subSchema->{$elem}{$key} ne $otherSubSchema->{$elem}{$key}) { }
308 0 3 unless (exists $subSchema->{$elem} and %{$subSchema->{$elem};})
314 0 3 if (exists $otherSubSchema->{$elem}{'members'})
315 0 0 unless exists $subSchema->{$elem}{'members'}
326 1 1 if defined $otherSubSchema->{$elem}{'transformer'}
330 1 0 unless $subSchema->{$elem}{'optional'} and $otherSubSchema->{$elem}{'optional'}
333 1 0 if ($otherSubSchema->{$elem}{'validator'})
334 1 0 if (my $validator = $subSchema->{$elem}{'validator'}) { }