Branch Coverage

blib/lib/Data/Object/Space.pm
Criterion Covered Total %
branch 53 74 71.6


line true false branch
68 2 1 if @_ < 1
83 0 4 unless ($func)
93 1 3 unless ($next)
94 1 0 if ($class->can('AUTOLOAD'))
99 0 4 unless ($next)
126 0 149 if $item =~ /$regexp$/u
132 2 9 if $seen{$dir}++
156 0 1 unless ($func)
166 0 1 unless ($next)
174 1 0 @args ? :
186 1 0 unless fileno $handle
217 1 7 if $@
231 0 1 unless my $code = $class->can($routine)
234 1 0 if $data and not $data->invocant
267 0 1 if ($self->routine('import'))
272 0 1 $self->locate ? :
274 0 1 if ($self->routine('import')) { }
306 2 0 if (state $subutil = eval 'require Sub::Util') { }
319 7 10 if $has{$class}
324 10 0 unless $failed
328 8 2 unless $loaded
329 4 6 unless $loaded
330 4 6 unless $loaded
331 4 6 unless $loaded
336 0 9 if ($error or $failed or not $loaded)
359 1 2 $is_loaded_eval || $is_loaded_used ? :
368 1 30 if (-f "$path/$file")
383 0 1 unless my $code = $class->can($routine)
386 1 0 if $data and $data->invocant
400 3 0 if @parts > 1
440 0 4 if -f $target
504 3 214 if $item =~ /$regexp$/u
510 2 9 if $seen{$dir}++
536 1 2 if ref $target eq 'ARRAY'
542 1 2 &Scalar::Util::looks_like_number($version) ? :
561 2 2 if $has{$class}
564 0 370 if $item =~ /$regexp\.pm$/u