Condition Coverage

blib/lib/PDL/DateTime.pm
Criterion Covered Total %
condition 11 57 19.3


and 3 conditions

line !l l&&!r l&&r condition
143 0 0 3 defined $y and defined $m
0 0 3 defined $y and defined $m and defined $d
173 0 0 44 defined $count and defined $unit
377 5 0 0 $up and $unit eq 'week'
398 10 0 0 $up and $unit eq 'week'
452 0 0 0 $freq >= 2419200000000 and $freq <= 2678400000000
0 0 0 $freq >= 7776000000000 and $freq <= 7948800000000
0 0 0 $freq >= 31536000000000 and $freq <= 31622400000000
560 0 0 0 $min ne 'BAD' && $max ne 'BAD' && $min == $max && $max > 0
683 0 0 1 ref $val eq 'ARRAY' and not ref $val->[0]

or 3 conditions

line l !l&&r !l&&!r condition
408 0 5 0 not $fmt or $fmt eq 'auto'
420 70 0 43 not $fmt or $fmt eq 'auto'
575 0 0 0 ref $other or &looks_like_number($other)
581 0 0 0 ref $other or &looks_like_number($other)
587 0 0 0 ref $other or &looks_like_number($other)
593 0 0 0 ref $other or &looks_like_number($other)
599 27 0 0 ref $other or &looks_like_number($other)
605 0 0 266 ref $other or &looks_like_number($other)
724 0 0 0 ref $dt eq 'DateTime' or ref $dt eq 'Time::Piece'