| lib/Badger/Date.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 20 | 40.0 |
| line | true | false | branch |
|---|---|---|---|
| 35 | 0 | 6 | if (@_ > 1) |
| 55 | 1 | 1 | @_ ? : |
| 83 | 0 | 1 | if (@_ == 1) { } |
| 86 | 0 | 0 | ref $_[0] eq 'HASH' ? : |
| 99 | 0 | 1 | if (scalar keys %$args == 1 and defined $args->{'month'} || defined $args->{'months'} || defined $args->{'year'} || defined $args->{'years'}) |
| 110 | 3 | 0 | unless defined $args->{$element} |
| 116 | 1 | 2 | if defined $args->{$element} |
| 122 | 0 | 0 | unless ($self->{'month'} > 0) |
| 144 | 0 | 0 | if ($fix_month) { } |
| 149 | 0 | 0 | if ($self->{'month'} == 12) { } |