| line |
true |
false |
branch |
|
18
|
0 |
6 |
unless ($version) |
|
25
|
2 |
4 |
unless ($version =~ /^\d+\.\d+\.\d+$/) |
|
40
|
0 |
4 |
$platform eq 'windows' ? : |
|
42
|
2 |
2 |
unless -d $downloads |
|
43
|
2 |
2 |
unless -d $versions |
|
49
|
1 |
3 |
if (-d $target_dir) |
|
57
|
0 |
3 |
if (-f $download_path) { } |
|
61
|
0 |
3 |
unless $resp->{'success'} |
|
70
|
0 |
3 |
if ($ext eq 'zip') { } |
|
72
|
0 |
0 |
unless $zip->read($download_path) == 0 |
|
88
|
4 |
0 |
if $arch =~ /x86_64|amd64/i |
|
89
|
0 |
0 |
if $arch =~ /arm64|aarch64/i |
|
90
|
0 |
0 |
if $arch =~ /i[3456]86/ |
|
106
|
0 |
0 |
unless system("tar", "xf", $download_path, "-C", $target_dir, "--strip-components=1") == 0 |