Branch Coverage

blib/lib/AnyPAN/ReverseProxy.pm
Criterion Covered Total %
branch 0 18 0.0


line true false branch
40 0 0 unless ($self->storage)
44 0 0 unless (@{$self->{'sources'};})
61 0 0 unless ($req->method eq 'GET' or $req->method eq 'HEAD')
66 0 0 if ($req->path =~ m[^/authors/id/([A-Z])/(\1[A-Z])/\2[-A-Z0-9]*/.+$]o) { }
0 0 elsif ($req->path eq '/modules/02packages.details.txt.gz') { }
80 0 0 if $res->status == 200
91 0 0 if (my $e = $@)
92 0 0 if ('AnyPAN::Agent::Exception::NotFound'->caught($e))
126 0 0 unless $storage_path