| blib/lib/PDL/DateTime.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 63 | 17.4 |
| 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' |
| 453 | 0 | 0 | 0 | $freq >= 2419200000000 and $freq <= 2678400000000 |
| 0 | 0 | 0 | $freq >= 7776000000000 and $freq <= 7948800000000 | |
| 0 | 0 | 0 | $freq >= 31536000000000 and $freq <= 31622400000000 | |
| 561 | 0 | 0 | 0 | $min ne 'BAD' && $max ne 'BAD' && $min == $max && $max > 0 |
| 684 | 0 | 0 | 1 | ref $val eq 'ARRAY' and not ref $val->[0] |
| 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' |
| 450 | 0 | 0 | 0 | $self->is_increasing or $self->is_decreasing |
| 452 | 0 | 0 | 0 | $freq eq 'BAD' or $freq < 0 |
| 576 | 0 | 0 | 0 | ref $other or &looks_like_number($other) |
| 582 | 0 | 0 | 0 | ref $other or &looks_like_number($other) |
| 588 | 0 | 0 | 0 | ref $other or &looks_like_number($other) |
| 594 | 0 | 0 | 0 | ref $other or &looks_like_number($other) |
| 600 | 27 | 0 | 0 | ref $other or &looks_like_number($other) |
| 606 | 0 | 0 | 266 | ref $other or &looks_like_number($other) |
| 725 | 0 | 0 | 0 | ref $dt eq 'DateTime' or ref $dt eq 'Time::Piece' |