Condition Coverage

blib/lib/Date/Calc/Endpoints.pm
Criterion Covered Total %
condition 22 33 66.6


and 3 conditions

line !l l&&!r l&&r condition
102 1 0 728 $span =~ /^\d+$/ and $span > 0
149 0 1 162 $start_dom =~ /^\d+$/ and $start_dom >= 1
1 1 161 $start_dom =~ /^\d+$/ and $start_dom >= 1 and $start_dom <= 28
166 0 1 146 $start_moy =~ /^\d+$/ and $start_moy >= 1
1 1 145 $start_moy =~ /^\d+$/ and $start_moy >= 1 and $start_moy <= 12
417 3 0 7 scalar @date == 1 and $date[0] =~ /^(\d+)-(\d+)-(\d+)$/
420 0 0 10 scalar @date == 3 and $date[0] =~ /^\d+$/
0 0 10 scalar @date == 3 and $date[0] =~ /^\d+$/ and $date[1] =~ /^\d+$/
0 0 10 scalar @date == 3 and $date[0] =~ /^\d+$/ and $date[1] =~ /^\d+$/ and $date[2] =~ /^\d+$/
0 1 9 scalar @date == 3 and $date[0] =~ /^\d+$/ and $date[1] =~ /^\d+$/ and $date[2] =~ /^\d+$/ and check_date(@date)

or 3 conditions

line l !l&&r !l&&!r condition
207 484 239 1 $sliding_window == 0 or $sliding_window == 1