Branch Coverage

blib/lib/Ixchel/functions/github_fetch_release_asset.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
82 0 0 unless (defined $opts{'owner'})
86 0 0 unless (defined $opts{'repo'})
90 0 0 unless (defined $opts{'asset'})
96 0 0 if ($@)
103 0 0 if (ref $release ne "HASH")
108 0 0 if ($use_release and defined $release->{'draft'} and $release->{'draft'} =~ /$[Tt][Rr][Uu][Ee]^/ and not $opts{'draft'})
117 0 0 if ($use_release and defined $release->{'prerelease'} and $release->{'prerelease'} =~ /$[Tt][Rr][Uu][Ee]^/ and not $opts{'pre'})
125 0 0 if ($use_release)
128 0 0 if (defined $asset->{'name'} and $asset->{'name'} eq $opts{'asset'})
132 0 0 if ($fetch_it)
137 0 0 if (defined $ENV{'HTTP_PROXY'})
140 0 0 if (defined $ENV{'HTTPS_PROXY'})
143 0 0 if (defined $ENV{'FTP_PROXY'})
149 0 0 if ($response->is_success) { }
155 0 0 if ($@)
159 0 0 if ($opts{'return'})
165 0 0 if (defined $opts{'output'})
180 0 0 if ($@)