Condition Coverage

blib/lib/Mail/Digest/Tools.pm
Criterion Covered Total %
condition 9 68 13.2


and 3 conditions

line !l l&&!r l&&r condition
349 6 0 0 $thr =~ /\.thr\.txt$/ and -f $thr
460 0 0 3 defined $1 and not defined $2
739 0 0 0 $initial =~ /[a-zA-Z]/ and -f "$dir_archive_top/$initial/$stub"
988 45 0 0 defined $subject_constant and $thread =~ /^$subject_constant\s+(.*)/
1205 0 0 2 exists ${$dateref;}{'year'} and exists ${$dateref;}{'month'}
0 0 2 exists ${$dateref;}{'year'} and exists ${$dateref;}{'month'} and exists ${$dateref;}{'day'}
1212 0 0 2 1 <= ${$dateref;}{'month'} and ${$dateref;}{'month'} <= 12
1240 0 0 2 ${$dateref;}{'day'} >= 1 and ${$dateref;}{'day'} <= 28
0 0 0 $month31{${$dateref;}{'month'}} and ${$dateref;}{'day'} >= 29
0 0 0 $month31{${$dateref;}{'month'}} and ${$dateref;}{'day'} >= 29 and ${$dateref;}{'day'} <= 31
0 0 0 $month30{${$dateref;}{'month'}} and ${$dateref;}{'day'} >= 29
0 0 0 $month30{${$dateref;}{'month'}} and ${$dateref;}{'day'} >= 29 and ${$dateref;}{'day'} <= 30
0 0 0 ${$dateref;}{'month'} == 2 and ${$dateref;}{'day'} == 29
0 0 0 ${$dateref;}{'month'} == 2 and ${$dateref;}{'day'} == 29 and ${$dateref;}{'year'} % 400 == 0 || ${$dateref;}{'year'} % 100 != 0 && ${$dateref;}{'year'} % 4 == 0

or 2 conditions

line l !l condition
699 0 2 $archive_kill_trigger == 0 or $archive_kill_trigger = -1

or 3 conditions

line l !l&&r !l&&!r condition
516 0 0 0 $thrfile || warn("having trouble deleting ${thrfile}: $!")
1037 0 0 0 @nextparts == 3 or @nextparts == 4
1091 0 0 0 @nextparts == 5 or @nextparts == 6
0 0 0 @nextparts == 7 or @nextparts == 8
1240 2 0 0 ${$dateref;}{'day'} >= 1 and ${$dateref;}{'day'} <= 28 or $month31{${$dateref;}{'month'}} and ${$dateref;}{'day'} >= 29 and ${$dateref;}{'day'} <= 31
0 0 0 ${$dateref;}{'day'} >= 1 and ${$dateref;}{'day'} <= 28 or $month31{${$dateref;}{'month'}} and ${$dateref;}{'day'} >= 29 and ${$dateref;}{'day'} <= 31 or $month30{${$dateref;}{'month'}} and ${$dateref;}{'day'} >= 29 and ${$dateref;}{'day'} <= 30
0 0 0 ${$dateref;}{'year'} % 400 == 0 || ${$dateref;}{'year'} % 100 != 0 && ${$dateref;}{'year'} % 4 == 0
0 0 0 ${$dateref;}{'day'} >= 1 and ${$dateref;}{'day'} <= 28 or $month31{${$dateref;}{'month'}} and ${$dateref;}{'day'} >= 29 and ${$dateref;}{'day'} <= 31 or $month30{${$dateref;}{'month'}} and ${$dateref;}{'day'} >= 29 and ${$dateref;}{'day'} <= 30 or ${$dateref;}{'month'} == 2 and ${$dateref;}{'day'} == 29 and ${$dateref;}{'year'} % 400 == 0 || ${$dateref;}{'year'} % 100 != 0 && ${$dateref;}{'year'} % 4 == 0