blib/lib/BackPAN/Index.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 28 | 78.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
112 | 1 | 9 | 0 | -e $db_file and $should_update_db |
172 | 0 | 1 | 1161016 | defined $path && defined $date && defined $size |
178 | 0 | 627909 | 531529 | $only_authors and not $path =~ m[^authors/] |
line | l | !l | condition |
---|---|---|---|
189 | 235228 | 706 | $i->version || '' |
202 | 200158 | 35776 | $dists{$dist} ||= {'name', $dist} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
106 | 1 | 0 | 9 | $self->update || $self->db->should_update_db || $self->_index_archive_newer_than_db |
116 | 1 | 0 | 9 | $should_update_db or $self->_database_is_empty |
172 | 1 | 0 | 1161016 | not defined $path && defined $date && defined $size or @junk |
204 | 35776 | 3736 | 196422 | not defined $$distdata{'first_release'} or $date < $$distdata{'first_date'} |
212 | 35776 | 170483 | 29675 | not defined $$distdata{'latest_release'} or $date > $$distdata{'latest_date'} |