Branch Coverage

blib/lib/Portable.pm
Criterion Covered Total %
branch 5 38 13.1


line true false branch
70 0 0 defined $_[0] && !ref($_[0]) && length $_[0] ? :
73 0 0 ref $_[0] eq 'HASH' && scalar %{$_[0];} ? :
76 0 0 ref $_[0] eq 'ARRAY' && @{$_[0];} ? :
92 1 0 @_ ? :
100 0 0 if ($apply{'Config'} and not $applied{'Config'})
105 0 0 if ($apply{'CPAN'} and not $applied{'CPAN'} and $self->cpan)
110 0 0 if ($apply{'HomeDir'} and not $applied{'HomeDir'} and $self->homedir)
138 0 0 unless (exists $$self{'dist_volume'})
141 0 0 unless (_STRING($self->dist_dirs))
144 0 0 unless (_STRING($self->dist_root))
147 0 0 unless (_HASH($$self{'portable'}))
156 0 0 if ($self->portable_cpan)
162 0 0 if ($self->portable_homedir)
168 0 0 if ($self->portable_minicpan)
178 0 3 if $cache
181 3 0 $ENV{'HARNESS_ACTIVE'} && $FAKE_PERL ? :
189 3 0 if @d > 0 and $d[-1] eq ''
197 3 0 unless (defined $dist_dirs)
207 0 0 unless (_HASH $portable)