| blib/lib/Alien/Build/Plugin/Fetch/HTTPTiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 26 | 15.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 57 | 0 | 0 | 0 | defined $key and defined $value |
| 90 | 0 | 0 | 0 | defined $redirect->{'headers'}{'location'} and $redirect->{'headers'}{'location'} =~ /^https:/ |
| line | l | !l | condition |
|---|---|---|---|
| 71 | 0 | 0 | $Alien::Build::VERSION || 'dev' |
| 76 | 0 | 0 | $res->{'status'} || '---' |
| 77 | 0 | 0 | $res->{'reason'} || 'unknown' |
| 133 | 0 | 0 | $filename || 'downloadedfile' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 30 | 5 | 4 | 0 | $meta->prop->{'start_url'} ||= $self->url |
| 34 | 4 | 0 | 5 | $self->url =~ /^https:/ or $self->ssl |
| 45 | 0 | 0 | 0 | $url ||= $self->url |
| 113 | 0 | 0 | 0 | $disposition =~ /filename="([^"]+)"/ or $disposition =~ /filename=([^\s]+)/ |