Branch Coverage

blib/lib/Mail/Dir/Message.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
43 0 0 unless defined $args{'maildir'}
44 0 0 unless $args{'maildir'}->isa('Mail::Dir')
45 0 0 unless defined $args{'mailbox'}
46 0 0 unless defined $args{'file'}
47 0 0 unless defined $args{'name'}
48 0 0 unless defined $args{'st'}
49 0 0 unless ref $args{'st'} eq 'ARRAY'
51 0 0 if (defined $args{'dir'})
52 0 0 unless $args{'dir'} =~ /^(?:tmp|new|cur)$/
57 0 0 if ($args{'flags'}) { }
0 0 elsif ($args{'name'} =~ /:(?:1,.*)2,(.*)$/) { }
93 0 0 unless CORE::open my $fh, '<', $self->{'file'}
117 0 0 unless $self->{'maildir'}{'maildir++'}
118 0 0 if $mailbox eq $self->{'maildir'}{'mailbox'}
123 0 0 unless (rename $self->{'file'}, $new_file)
136 0 0 unless $flags =~ /^[PRSTDF]*$/
139 0 0 if index($flags, $flag) >= 0
235 0 0 if (defined $dir) { }
236 0 0 unless $dir =~ /^(?:keepq|tmp|new|cur)$/
237 0 0 if $dir eq 'keepq'
246 0 0 unless (rename $self->{'file'}, $new_file)