Condition Coverage

blib/lib/PDL/DateTime.pm
Criterion Covered Total %
condition 11 63 17.4


and 3 conditions

line !l l&&!r l&&r condition
145 0 0 3 defined $y and defined $m
0 0 3 defined $y and defined $m and defined $d
175 0 0 44 defined $count and defined $unit
379 5 0 0 $up and $unit eq 'week'
400 10 0 0 $up and $unit eq 'week'
455 0 0 0 $freq >= 2419200000000 and $freq <= 2678400000000
0 0 0 $freq >= 7776000000000 and $freq <= 7948800000000
0 0 0 $freq >= 31536000000000 and $freq <= 31622400000000
563 0 0 0 $min ne 'BAD' && $max ne 'BAD' && $min == $max && $max > 0
686 0 0 1 ref $val eq 'ARRAY' and not ref $val->[0]

or 3 conditions

line l !l&&r !l&&!r condition
410 0 5 0 not $fmt or $fmt eq 'auto'
422 70 0 43 not $fmt or $fmt eq 'auto'
452 0 0 0 $self->is_increasing or $self->is_decreasing
454 0 0 0 $freq eq 'BAD' or $freq < 0
578 0 0 0 ref $other or &looks_like_number($other)
584 0 0 0 ref $other or &looks_like_number($other)
590 0 0 0 ref $other or &looks_like_number($other)
596 0 0 0 ref $other or &looks_like_number($other)
602 27 0 0 ref $other or &looks_like_number($other)
608 0 266 0 ref $other or &looks_like_number($other)
727 0 0 0 ref $dt eq 'DateTime' or ref $dt eq 'Time::Piece'