Branch Coverage

blib/lib/Mail/Message/Body/File.pm
Criterion Covered Total %
branch 14 36 38.8


line true false branch
32 0 0 unless (open IN, '<:raw', $filename)
39 0 0 unless (open OUT, '>:raw', $file)
61 0 1 unless (open OUT, '>:raw', $file)
84 0 0 unless (open OUT, '>:raw', $file)
105 0 1 unless (open OUT, '>:raw', $file)
121 0 0 unless copy($self->tempFilename, $clone->tempFilename)
133 2 0 if defined $self->{'MMBF_nrlines'}
141 0 0 unless open IN, '<:raw', $file
156 0 2 if exists $self->{'MMBF_size'}
160 0 2 if $Mail::Message::crlf_platform
173 0 3 unless open IN, '<:raw', $file
188 0 3 unless open IN, '<:raw', $file
195 2 1 wantarray ? :
211 0 2 unless open IN, '<:raw', $file
214 0 2 if (ref $fh eq 'GLOB') { }
227 0 0 unless open OUT, '>:raw', $file
249 13 2 $self->{'MMBF_filename'} ? :
0 15 @_ ? :