Condition Coverage

blib/lib/Mail/Box/Maildir.pm
Criterion Covered Total %
condition 16 62 25.8


and 3 conditions

line !l l&&!r l&&r condition
43 0 3 4 not exists $args->{'locker'} and !defined($args->{'lock_type'}) || $args->{'lock_type'} eq 'NONE'
100 0 0 0 -d $dir and opendir my $dh, $dir
214 0 0 0 /^([0-9][\w.:,=\-]+)$/ && -f "$dirname/$1"
218 28 0 303 /^([0-9][\w.:,=\-]+)$/ && -f "$dirname/$1"
229 0 303 0 /^(\d+)/ and $unified{0 x (10 - length($1)) . $_} = $_
316 5 0 0 not @messages and $self->removeEmpty

or 2 conditions

line l !l condition
88 0 0 $args{'folder'} || '='
93 0 0 $args{'skip_empty'} ||= 0
94 0 0 $args{'check'} ||= 0
346 0 1 $args{'message_type'} || 'Mail::Box::Maildir::Message'

or 3 conditions

line l !l&&r !l&&!r condition
43 5 2 0 !defined($args->{'lock_type'}) || $args->{'lock_type'} eq 'NONE'
47 1 6 0 $args->{'folderdir'} ||= $default_folder_dir
58 0 0 0 ref $thingy || $thingy
59 0 0 0 $args{'folderdir'} || $default_folder_dir
71 2 3 0 $args{'folderdir'} || $default_folder_dir
89 0 0 0 $args{'folderdir'} || $default_folder_dir
143 2 0 0 $message->timestamp || time
160 0 0 0 -d $dir or mkdir $dir
165 0 0 0 -d $subdir or mkdir $subdir
292 5 0 0 -d $tmpdir or mkdir $tmpdir
343 1 0 0 -d $tmpdir or mkdir $tmpdir
358 0 0 0 $message->timestamp || time