Condition Coverage

blib/lib/JSCalendar/Duration.pm
Criterion Covered Total %
condition 13 14 92.8


and 3 conditions

line !l l&&!r l&&r condition
89 4 22 0 $toparse and not $toparse =~ /^\d+$/
102 17 7 2 $days and $days % 7 == 0
24 1 1 $days and $days % 7 == 0 and $toparse == 0

or 2 conditions

line l !l condition
87 22 4 $toparse ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
142 8 15 2 $durday or $durtime