Branch Coverage

lib/Data/Processor.pm
Criterion Covered Total %
branch 27 42 64.2


line true false branch
105 2 31 if ($e->count > 0)
177 18 0 ref shift() eq 'Regexp' ? :
207 0 1 unless $parent->{'array'}
208 1 0 $value =~ /^[01]$/ ? :
216 0 20 if (ref $value ne 'HASH')
221 0 20 $e->count > 0 ? :
231 4 11 if (defined $blessed)
232 3 1 if $v->can('validate')
235 10 1 ref $v eq 'CODE' ? :
243 6 1 ref shift() eq 'CODE' ? :
277 0 6 unless exists $mergeNode->{$key}
291 14 1 unless defined $otherSubSchema->{$elem}{$key}
293 0 1 if (not defined $subSchema->{$elem}{$key}) { }
1 0 elsif ($subSchema->{$elem}{$key} ne $otherSubSchema->{$elem}{$key}) { }
303 0 3 unless (exists $subSchema->{$elem} and %{$subSchema->{$elem};})
309 0 3 if (exists $otherSubSchema->{$elem}{'members'})
310 0 0 unless exists $subSchema->{$elem}{'members'}
321 1 1 if defined $otherSubSchema->{$elem}{'transformer'}
325 1 0 unless $subSchema->{$elem}{'optional'} and $otherSubSchema->{$elem}{'optional'}
328 1 0 if ($otherSubSchema->{$elem}{'validator'})
329 1 0 if (my $validator = $subSchema->{$elem}{'validator'}) { }