Branch Coverage

blib/lib/CPAN/Repository/Role/File.pm
Criterion Covered Total %
branch 9 16 56.2


line true false branch
48 6 6 unless -f $self->full_compressed_filename
56 2 6 unless -d catdir($self->repository_root, @pps)
58 0 8 unless my $gz = 'IO::Zlib'->new($self->full_compressed_filename, 'w')
61 8 0 if ($self->generate_uncompressed)
62 0 8 unless my $txt = 'IO::File'->new($self->full_filename, 'w')
71 0 5 unless my $gz = 'IO::Zlib'->new($self->full_compressed_filename, 'r')
78 0 2 if (@$err)
81 0 0 if ($file eq '') { }