Branch Coverage

blib/lib/Mail/Box/MH/Index.pm
Criterion Covered Total %
branch 9 22 40.9


line true false branch
32 0 4 unless $self->{'MBMI_filename'} = $args->{'filename'}
50 0 5 unless (@messages)
55 0 5 unless open my $index, ">:raw", $indexfn
62 0 178 if $head->isDelayed and $head->isa("Mail::Message::Head::Subset")
74 0 5 unless $written
82 0 1 unless my $indexfn = $self->filename
84 0 1 unless open my $index, ">>:raw", $indexfn
89 0 1 if $head->isDelayed and $head->isa("Mail::Message::Head::Subset")
106 0 4 unless my $parser = "Mail::Box::Parser"->new("filename", $filename, "mode", "r")
118 0 0 unless -f $msgfile and -s _ == $size
119 0 0 if defined $index_age and -M _ < $index_age