| line |
true |
false |
branch |
|
36
|
2 |
42 |
unless defined $components{'type'} |
|
37
|
4 |
38 |
unless defined $components{'name'} |
|
45
|
0 |
0 |
unless +(shift())->{'scheme'} |
|
59
|
1 |
37 |
if ($components{'type'} eq "pypi") |
|
64
|
1 |
37 |
if ($components{'type'} eq "cpan" and $components{'name'} =~ /::/) |
|
74
|
10 |
28 |
if (grep {$_ eq $components{'type'};} "bitbucket", "deb", "github", "golang", "hex", "npm", "pypi") |
|
81
|
14 |
24 |
if (my $qualifiers = $components{'qualifiers'}) |
|
83
|
1 |
22 |
if $_ =~ /\s/ |
|
87
|
3 |
34 |
if ($components{'type'} eq "swift") |
|
88
|
1 |
2 |
unless defined $components{'version'} |
|
89
|
1 |
1 |
unless defined $components{'namespace'} |
|
92
|
2 |
33 |
if ($components{'type'} eq "cran") |
|
93
|
1 |
1 |
unless defined $components{'version'} |
|
96
|
4 |
30 |
if ($components{'type'} eq "conan") |
|
98
|
2 |
2 |
if (defined $components{'namespace'} and $components{'namespace'} ne '') { } |
|
100
|
1 |
1 |
unless (defined $components{'qualifiers'}{'channel'}) |
|
108
|
1 |
1 |
if (defined $components{'qualifiers'}{'channel'}) |
|
141
|
1 |
3 |
if ($s1[1]) |
|
143
|
3 |
0 |
if $_ ne "" and $_ ne "." |
|
161
|
2 |
2 |
if ($s2[1]) |
|
170
|
0 |
3 |
if ($key eq "checksums") |
|
217
|
4 |
0 |
scalar @s6 > 1 ? : |
|
228
|
4 |
0 |
if (scalar @s6 > 1) |
|
245
|
25 |
7 |
if ($self->namespace) |
|
256
|
27 |
5 |
if $self->version |
|
259
|
13 |
19 |
if (my $qualifiers = $self->qualifiers) |
|
262
|
12 |
1 |
if @qualifiers |
|
267
|
3 |
29 |
if $self->subpath |