| blib/lib/Alien/Base/ModuleBuild/Repository/HTTP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 22 | 34 | 64.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 22 | 10 | 1 | 1 | defined $self->{'exact_filename'} and $self->{'exact_filename'} =~ /^https:/ |
| 78 | 7 | 0 | 0 | $self->is_secure_fetch and not $uri =~ /^https:/ |
| 85 | 3 | 0 | 4 | defined $disposition and $disposition =~ /filename="([^"]+)"/ || $disposition =~ /filename=([^\s]+)/ |
| 102 | 1 | 0 | 0 | $self->is_secure_fetch and not $uri =~ /^https:/ |
| 184 | 11 | 0 | 0 | &blessed($res) and $res->isa("HTTP::Response") |
| 194 | 1 | 1 | 1 | $res->{'status'} == 599 and $reason =~ /https support/ |
| line | l | !l | condition |
|---|---|---|---|
| 22 | 3 | 8 | $self->{'protocol'} || 'http' |
| 33 | 2 | 7 | $self->{'protocol_class'} ||= "HTTP::Tiny" |
| 44 | 7 | 1 | $Alien::Base::ModuleBuild::VERSION || 'dev' |
| 50 | 0 | 0 | $Alien::Base::ModuleBuild::VERSION || 'dev' |
| 170 | 9 | 5 | $protocol || 'http' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 69 | 7 | 0 | 0 | shift() || croak('Must specify file to download') |
| 85 | 2 | 2 | 0 | $disposition =~ /filename="([^"]+)"/ || $disposition =~ /filename=([^\s]+)/ |