Branch Coverage

blib/lib/Mail/Qmail/Queue/Receive/Envelope.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
98 5 0 if ($o{'FileHandle'}) { }
104 0 0 unless $$self{'_fh'} = 'FileHandle'->new_from_fd(1, 'r')
108 0 5 if ($ENV{'QMAILQUEUE_CHAIN'}) { }
136 4 12 unless (defined $$self{'_from'})
138 0 4 unless my $e = $self->read_envelope_string
141 0 4 if ($type ne 'F')
162 2 12 if (wantarray)
174 4 8 unless $e = $self->read_envelope_string
176 0 8 if ($e eq '')
182 0 8 if ($type ne 'T')
213 0 20 unless (defined $line)
218 5 15 if ($line eq '')
222 0 5 if (defined $line)
226 0 5 unless close $fh