| blib/lib/Alien/Build/Plugin/Download/GitHub.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 21 | 47.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 38 | 7 | 0 | 0 | $self->asset and $self->tags_only |
| 57 | 7 | 0 | 0 | $self->asset and $self->asset_format |
| 111 | 0 | 1 | 7 | $res->{'type'} eq "file" and $res->{'filename'} =~ qr/^(?:releases|tags)$/ |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 50 | 0 | 7 | 0 | $meta->prop->{'start_url'} ||= "https://api.github.com/repos/@{[$self->github_user];}/@{[$self->github_repo];}/$endpoint" |
| 94 | 1 | 7 | 0 | $url || $build->meta_prop->{'start_url'} |
| 131 | 0 | 0 | 0 | $url || $meta->prop->{'start_url'} |
| 185 | 2 | 1 | 1 | 0 == $filter or $asset->{'name'} =~ /$include/ |