Branch Coverage

blib/lib/Venus/Space.pm
Criterion Covered Total %
branch 64 76 84.2


line true false branch
19 499 0 unless $self->lookslike_a_pragma
57 2 9 if @data
118 0 42 unless ($func)
124 2 40 unless ($next)
125 1 1 if ($class->can("AUTOLOAD"))
130 1 41 unless ($next)
143 2 3 ref $step eq 'ARRAY' ? :
170 0 157 if $item =~ /$regexp$/u
176 2 9 if $seen{$dir}++
197 0 2 unless ($func)
203 1 1 unless ($next)
207 1 0 @args ? :
221 1 0 unless fileno $handle
240 2 11 if (my $error = $@)
260 1 1 if @data
289 4 2 unless $self->loaded
336 306 19 if $class eq "main" or $self->loaded
340 6 13 if ($error)
350 366 61 $self->included || @{$self->routines;} ? :
361 4 22 if (-f "$path/$file")
382 1 0 unless $space->loaded
398 3 0 if @parts > 1
442 0 1 if $self->unloaded
478 0 4 if -f $target
496 2 1 if $code
521 1 5 if @data
558 3 216 if $item =~ /$regexp$/u
564 4 10 if $seen{$dir}++
586 1 3 if (@list) { }
2 1 elsif (defined $length) { }
1 0 elsif (defined $offset) { }
604 0 2 unless $code
606 1 1 unless ($orig)
632 1 2 if ref $target eq "ARRAY"
638 1 2 &Scalar::Util::looks_like_number($version) ? :
667 34 53 if $self->unloaded
685 55 35 $self->loaded ? :
695 4 2 grep((!/\A[^:]+::\z/u), keys %{"${package}::";}) ? :