Branch Coverage

blib/lib/RapidApp/Util/Hash/Merge.pm
Criterion Covered Total %
branch 24 54 44.4


line true false branch
107 74524 17399 if (my $type = ref $_[0])
108 44627 29897 if $type eq 'RapidApp::Util::Hash::Merge' or eval { do { $_[0]->isa('RapidApp::Util::Hash::Merge') } }
119 0 0 unless exists $RapidApp::Util::Hash::Merge::context->{'behaviors'}{$beh}
130 0 0 unless (exists $self->{'behaviors'}{$value} or exists $GLOBAL->{'behaviors'}{$value})
149 0 0 if (exists $self->{'behaviors'}{$name})
158 0 0 unless (exists $matrix->{$left}{$right})
172 0 0 shift() ? :
190 2140 11215 ref $left eq 'ARRAY' ? :
5664 13355 ref $left eq 'HASH' ? :
195 2140 11542 ref $right eq 'ARRAY' ? :
5337 13682 ref $right eq 'HASH' ? :
200 19019 0 if ($self->{'clone'})
216 0 5337 if (ref $left ne 'HASH' or ref $right ne 'HASH')
223 15104 1301 if (exists $right->{$leftkey}) { }
227 1301 0 $self->{'clone'} ? :
232 28222 15104 unless (exists $left->{$rightkey})
233 28222 0 $self->{'clone'} ? :
247 0 0 if (ref $arg eq 'HASH')
253 0 0 if (ref $arg eq 'ARRAY') { }
282 4 67557 if ($self->{'clone'} and not $clone)
283 4 0 if (eval { do { require Clone; 1 } }) { }
0 0 elsif (eval { do { require Storable; 1 } }) { }
0 0 elsif (eval { do { require Clone::PP; 1 } }) { }
285 0 0 if (!($Clone::VERSION || 0) > 0.09 and ref $_[0] ne 'HASH' and ref $_[0] ne 'ARRAY')
297 0 0 unless ref $var
304 0 0 unless ref $var
313 67561 0 if ($self->{'clone'}) { }