blib/lib/DateTime/Format/Text.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 39 | 41.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
132 | 0 | 129 | 4 | scalar @_ and scalar(@_) % 2 == 0 |
226 | 0 | 0 | 79 | defined $month and defined $year |
0 | 28 | 51 | defined $month and defined $year and not defined $day | |
243 | 0 | 0 | 79 | $day and $month |
0 | 0 | 79 | $day and $month and $year |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
78 | 1 | 17 | 1 | ref $proto || $proto |
197 | 0 | 0 | 0 | $day //= $2 |
198 | 0 | 0 | 0 | $month //= $4 |
199 | 0 | 0 | 0 | $year //= $5 |
201 | 0 | 12 | 0 | $month //= $1 |
202 | 0 | 12 | 0 | $day //= $2 |
203 | 0 | 12 | 0 | $year //= $4 |
250 | 52 | 11 | 155 | $month eq $month_names[$i] or $month eq $short_month_names[$i] |