Branch Coverage

blib/lib/Venus/Space.pm
Criterion Covered Total %
branch 76 88 86.3


line true false branch
19 577 0 unless $self->lookslike_a_pragma
59 2 9 if @data
120 0 42 unless ($func)
130 2 40 unless ($next)
131 1 1 if ($class->can("AUTOLOAD"))
136 1 41 unless ($next)
153 2 3 ref $step eq 'ARRAY' ? :
180 0 158 if $item =~ /$regexp$/u
186 2 9 if $seen{$dir}++
207 0 2 unless ($func)
217 1 1 unless ($next)
225 1 0 @args ? :
239 1 0 unless fileno $handle
258 2 11 if (my $error = $@)
284 1 1 if @data
313 4 2 unless $self->loaded
360 306 19 if $class eq "main" or $self->loaded
364 6 13 if ($error)
378 428 65 $self->included || @{$self->routines;} ? :
389 4 22 if (-f "$path/$file")
410 1 0 unless $space->loaded
426 3 0 if @parts > 1
467 2 6 unless $patched
469 1 1 $patched->{$name} ? :
2 4 $name ? :
492 0 1 if $self->unloaded
528 0 4 if -f $target
548 21 1 if $code
575 1 6 if @data
612 3 217 if $item =~ /$regexp$/u
618 4 10 if $seen{$dir}++
640 1 3 if (@list) { }
2 1 elsif (defined $length) { }
1 0 elsif (defined $offset) { }
658 0 14 unless $code
660 1 13 unless ($orig)
690 1 2 if ref $target eq "ARRAY"
696 1 2 &Scalar::Util::looks_like_number($version) ? :
725 36 115 if $self->unloaded
743 117 37 $self->loaded ? :
751 2 3 unless @names
754 1 4 unless my $orig = delete $patched->{$name}
758 4 1 unless keys %{$patched;}
770 4 2 grep((!/\A[^:]+::\z/u), keys %{"${package}::";}) ? :