lib/Net/API/CPAN/Activity.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 16 | 43.7 |
line | true | false | branch |
---|---|---|---|
31 | 1 | 0 | unless exists $self->{'activity'} |
33 | 0 | 1 | unless $self->SUPER::init(@_) |
40 | 1 | 1 | if (@_) |
44 | 1 | 0 | if ($self->_is_array($data)) { } |
0 | 0 | elsif (ref $data eq 'HASH' and exists $data->{'activity'} and $self->_is_array($data->{'activity'})) { } | |
55 | 0 | 1 | if (not defined $months) { } |
0 | 1 | elsif (scalar @$months != 24) { } | |
61 | 0 | 0 | if $self->_is_warnings_enabled("Net::API::CPAN") |