Branch Coverage

blib/lib/Mail/Box/MH/Index.pm
Criterion Covered Total %
branch 10 24 41.6


line true false branch
30 0 4 unless $self->{'MBMI_filename'} = $args->{'filename'}
49 0 5 unless my $index = $self->filename
52 0 5 unless (@_)
58 0 5 unless open INDEX, '>:raw', $index
66 0 178 if $head->isDelayed and $head->isa('Mail::Message::Head::Subset')
78 0 5 unless $written
88 0 1 unless my $index = $self->filename
91 0 1 unless open INDEX, '>>:raw', $index
98 0 1 if $head->isDelayed and $head->isa('Mail::Message::Head::Subset')
118 4 0 unless my $parser = 'Mail::Box::Parser'->new('filename', $filename, 'mode', 'r')
133 0 0 unless -f $msgfile and -s _ == $size
134 0 0 if defined $index_age and -M _ < $index_age