Branch Coverage

blib/lib/CPAN/Common/Index/LocalPackage.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
38 1 10 if (not defined $file) { }
1 9 elsif (not -f $file) { }
54 1 17 unless -r $package
62 1 2 if ($source =~ /\.gz$/) { }
65 1 0 if (not -f $uncompressed or &File::stat::stat($source)->mtime > &File::stat::stat($uncompressed)->mtime)
67 0 1 unless IO::Uncompress::Gunzip::gunzip(map({"$_";} $source, $uncompressed))
73 2 0 if not -e $dest or &File::stat::stat($source)->mtime > &File::stat::stat($dest)->mtime