line |
true |
false |
branch |
52
|
40 |
8 |
if -e $args{$_} |
53
|
0 |
8 |
unless open my $fh, '>', $args{$_} |
57
|
1 |
11 |
unless exists $args{'source'} |
60
|
4 |
29 |
unless -e $args{$dir} |
65
|
1 |
10 |
unless $type |
78
|
1 |
10 |
unless $$source |
82
|
4 |
6 |
if ($$source =~ /\.(?:tar\.(?:gz|bz2)|tgz|tbz|zip)$/) |
83
|
1 |
3 |
if ($$source =~ s/^file://i or -f $$source) |
88
|
1 |
8 |
if $$source =~ s/^dir(?:ectory)?:(?!:\w+)//i |
90
|
0 |
8 |
if $$source =~ s/^(?:shipyard|shipwright)://i |
94
|
4 |
28 |
if ($$source =~ /^$type:(?!:\w+)/i) |
96
|
0 |
3 |
$type eq 'https' ? : |
|
1 |
3 |
$type eq 'git' ? : |
100
|
1 |
3 |
if ($$source =~ m[^(//|svk:(?!:\w+))]i) |
105
|
0 |
3 |
if -d $$source |
115
|
2 |
1 |
unless $$source =~ /\.(?:tar\.(?:gz|bz2)|tgz|tbz)$/ |
124
|
0 |
10 |
if ($$source =~ /^(file|dir(ectory)?|shipwright):~/i) |