Branch Coverage

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


line true false branch
51 5 6 unless -f $self->full_compressed_filename
59 2 6 unless -d catdir($self->repository_root, @pps)
61 0 8 unless my $gz = 'IO::Zlib'->new($self->full_compressed_filename, 'w')
64 8 0 if ($self->generate_uncompressed)
65 0 8 unless my $txt = 'IO::File'->new($self->full_filename, 'w')
74 0 5 unless my $gz = 'IO::Zlib'->new($self->full_compressed_filename, 'r')
81 0 2 if (@$err)
84 0 0 if ($file eq '') { }