| blib/lib/CPAN/InGit/MirrorTree.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 14 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 55 | 0 | 0 | 0 | $path =~ m[^authors/id/(.*)]u and not $ent |
| 97 | 0 | 0 | 0 | $self->upstream_backup_url and $path =~ m[^authors/id/]u |
| 104 | 0 | 0 | 0 | $options{'undef_if_404'} and $tx->result->code == 404 |
| line | l | !l | condition |
|---|---|---|---|
| 25 | 0 | 0 | $self->upstream_url || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 57 | 0 | 0 | 0 | $self->{'_blob_last_update'}{$ent->[0]->id} // do { my $head = substr($ent->[0]->content, 0, 10000); die "Can't parse 02packages.details.txt" unless $head =~ /^Last-Updated:\s*(.*)$/mu; (my $date = $1) =~ s/\s+\z//u; $CPAN::InGit::MirrorTree::log->debug("Date in modules/02packages.details.txt is '${date}'"); "Time::Piece"->strptime($date, "%a, %d %b %Y %H:%M:%S GMT")->epoch } |