Branch Coverage

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


line true false branch
107 73389 17159 if (my $type = ref $_[0])
108 44377 29012 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 11090 ref $left eq 'ARRAY' ? :
5414 13230 ref $left eq 'HASH' ? :
195 2140 11417 ref $right eq 'ARRAY' ? :
5087 13557 ref $right eq 'HASH' ? :
200 18644 0 if ($self->{'clone'})
216 0 5087 if (ref $left ne 'HASH' or ref $right ne 'HASH')
223 14854 1301 if (exists $right->{$leftkey}) { }
227 1301 0 $self->{'clone'} ? :
232 28222 14854 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 66807 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 66811 0 if ($self->{'clone'}) { }