Branch Coverage

blib/lib/CPAN/Unpack.pm
Criterion Covered Total %
branch 14 30 46.6


line true false branch
29 0 1 unless -d $cpan
33 0 1 unless -d $destination
36 0 1 unless -f $packages_filename
39 0 1 if (-e "$destination/unpacked_versions.yml")
49 18 63 if (S_ISDIR($mode))
50 0 18 unless ($mode & 448) == 448
60 0 3 unless (-f $archive_filename)
67 0 3 if (not defined $distribution->version) { }
78 0 0 if (defined $unpacked and $unpacked eq $unpacked_versions{$distribution->dist} and -d $want)
85 0 3 if (-d $want)
86 0 0 unless $self->quiet
91 3 0 unless $self->quiet
106 3 0 if ($files == 1) { }
108 3 0 if (S_ISDIR((stat $file)[2])) { }
119 0 3 unless ($counter % 500)