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 |
59 | 7 | 0 | 0 | $self->asset and $self->asset_format |
114 | 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" |
97 | 1 | 7 | 0 | $url || $build->meta_prop->{'start_url'} |
134 | 0 | 0 | 0 | $url || $meta->prop->{'start_url'} |
188 | 2 | 1 | 1 | 0 == $filter or $asset->{'name'} =~ /$include/ |