Condition Coverage

blib/lib/Date/Parse/Modern.pm
Criterion Covered Total %
condition 42 62 67.7


and 3 conditions

line !l l&&!r l&&r condition
203 15 10 17 not $month and $str =~ /$rule_2/
228 32 5 5 not $month and $str =~ /(.*)($MONTH_REGEXP)(.*)/
236 0 0 3 $before and $after
281 30 1 1 $ampm and $hour == 24 || $hour == 12
344 39 0 0 $err and $err =~ /Undefined subroutine/
370 2 20 17 $ret and $str =~ /$tz_rule/
442 0 0 0 $USE_TZ_CACHE and $x->{$cache_key}

or 2 conditions

line l !l condition
219 3 2 $5 || 0
233 5 0 $$MONTH_MAP{lc $2} || 0
244 3 0 $1 || 0
269 22 10 $4 || 0
273 2 30 $6 || ''
376 3 0 $6 || $7 || ''
379 2 9 $TZ_OFFSET->{$tz_code} || 0
413 0 0 $year || -1
0 0 $month || -1
0 0 $day || -1

or 3 conditions

line l !l&&r !l&&!r condition
165 14 0 1 $2 or $3
172 1 0 14 $5 or $6
281 1 1 0 $hour == 24 || $hour == 12
287 29 3 10 $hour || $min || $sec
288 37 0 5 $year || $month || $day
290 32 6 4 $has_time or $has_date
374 8 3 6 $6 or $7