Branch Coverage

blib/lib/Mail/Dir/Message.pm
Criterion Covered Total %
branch 0 36 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'}
115 0 0 unless $$self{'maildir'}{'maildir++'}
116 0 0 if $mailbox eq $$self{'maildir'}{'mailbox'}
121 0 0 unless (rename $$self{'file'}, $new_file)
134 0 0 unless $flags =~ /^[PRSTDF]*$/
137 0 0 if index($flags, $flag) >= 0
191 0 0 unless (rename $$self{'file'}, $new_file)