blib/lib/DateTime/Calendar/Pataphysical.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 28 | 36 | 77.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
81 | 3 | 1 | 2 | exists $p{'locale'} and not ref $p{'locale'} |
109 | 4 | 4 | 4 | $year % 100 == 27 and $year % 400 != 127 |
283 | 267 | 22 | 0 | $self->{'day'} == 29 && $self->{'month'} != 11 && ($self->{'month'} != 6 || !$self->is_leap_year) |
463 | 2 | 0 | 0 | $_ < 0 and ++$_ |
487 | 104 | 0 | 0 | not ref $dt2 and $dt2 == "Inf" |
488 | 104 | 0 | 0 | not ref $dt2 and $dt2 == "-Inf" |
line | l | !l | condition |
---|---|---|---|
166 | 6 | 1 | $self->day_of_week_0 || 7 |
338 | 101 | 136 | $rd_secs || 0 |
0 | 237 | $rd_nano || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
109 | 4 | 4 | 8 | $year % 4 != 3 or $year % 100 == 27 and $year % 400 != 127 |
445 | 2 | 1 | 5 | $self->{'day'} < 1 or $self->{'day'} > 29 |
449 | 2 | 1 | 5 | $self->{'month'} < 1 or $self->{'month'} > 13 |
493 | 2 | 1 | 101 | $dt1->year <=> $dt2->year || $dt1->month <=> $dt2->month || $dt1->day <=> $dt2->day |