Condition Coverage

blib/lib/DateTime/Format/Natural/Calc.pm
Criterion Covered Total %
condition 10 19 52.6


and 3 conditions

line !l l&&!r l&&r condition
241 0 0 168 defined $year and defined $month
0 0 168 defined $year and defined $month and defined $day
0 0 168 not $@ and (defined $year and defined $month and defined $day)
0 0 168 not $@ and (defined $year and defined $month and defined $day) and $self->_check_date($year, $month, $day)

or 2 conditions

line l !l condition
83 36 354 $opts->{'hours'} || 0
95 48 48 $opts->{'hours'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
383 30 48 0 $year ||= $self->{'datetime'}->year