Branch Coverage

blib/lib/Data/Hopen/Scope.pm
Criterion Covered Total %
branch 37 48 77.0


line true false branch
193 0 731 unless my $self = shift()
194 0 731 unless my $method_name = shift()
198 32 699 if ($levels // '') eq 'local' and $self->local
201 303 40 if ($self->outer and !defined($levels) || $levels eq 'local' || $levels > 0)
204 83 220 $levels eq 'local' ? :
241 303 !defined($levels) ? :
211 544 0 if $coderef
232 0 544 unless $args{'name'}
237 337 207 if defined $here
312 199 82 unless (exists $hrRetval->{$k})
315 22 177 $args{'deep'} ? :
339 0 103 unless not defined $args{'outer'} or ref $args{'outer'} and eval { do { $args{'outer'}->DOES('Data::Hopen::Scope') } }
342 0 113 unless defined wantarray
362 0 39 unless my $self = shift()
363 11 28 if $self->_merger_instance
366 5 0 $s =~ /^replace$/iu ? :
5 5 $s =~ /^keep$/iu ? :
15 10 $s =~ /^combine$/iu ? :
3 25 !defined($s) ? :
372 0 28 unless defined $precedence
423 0 0 unless my $self = shift()
469 5 1073 if ref $_[0] and ref $_[0] eq ref $_first_only
487 3 1070 if is_first_only($_[0])
489 2 1071 if $set ne '0' and $set ne '*'