Condition Coverage

blib/lib/Mail/Box/MH.pm
Criterion Covered Total %
condition 31 54 57.4


and 3 conditions

line !l l&&!r l&&r condition
142 0 0 46 -d $dir and opendir DIR, $dir
144 292 0 56 not /^\d+$|^\./ and -d "$dir/$_"
183 0 0 53 /(.*)/ && $1
306 51 0 434 /^(\d+)$/ && -f "$dirname/$1"
437 11 0 0 not @messages and $self->{'MB_remove_empty'}

or 2 conditions

line l !l condition
49 8 20 $args->{'keep_index'} || 0
51 0 28 $args->{'index_type'} || 'Mail::Box::MH::Index'
62 0 28 $args->{'labels_type'} || 'Mail::Box::MH::Labels'
130 23 5 $args{'folder'} || '='
135 1 45 $args{'skip_empty'} ||= 0
136 9 37 $args{'check'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
38 25 3 0 $args->{'folderdir'} ||= $default_folder_dir
39 0 0 28 $args->{'lock_file'} ||= $args->{'index_filename'}
76 0 2 0 ref $thingy || $thingy
77 2 0 0 $args{'folderdir'} || $default_folder_dir
96 6 15 0 $args{'folderdir'} || $default_folder_dir
131 6 22 0 $args{'folderdir'} || $default_folder_dir
195 6 3 0 -d $subdir or mkdir $subdir, 493
349 0 0 434 $head ||= $head_type->new(@log)
413 264 0 45 $renumber or not $filename