lib/Date/Holidays/Adapter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 18 | 16.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
41 | 0 | 0 | 0 | $self->{'_adaptee'}->can("new") and $self->isa("Date::Holidays::Adapter") |
94 | 0 | 0 | 0 | $self->{'_adaptee'}->can("new") and $self->isa("Date::Holidays::Adapter") |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
20 | 2 | 0 | 0 | $class || ref $class |
185 | 2 | 0 | 0 | $self->{'_countrycode'} or $params->{'countrycode'} |
189 | 2 | 0 | 0 | $params->{'countrycode'} || $self->{'_countrycode'} |
195 | 0 | 0 | 0 | $countrycode =~ /local/i or code2country($countrycode) |