line |
true |
false |
branch |
31
|
3 |
23 |
unless exists $params{'name'} |
32
|
0 |
23 |
unless exists $params{'framework'} |
37
|
0 |
23 |
unless (defined $package and defined $framework) |
41
|
7 |
16 |
unless ($self->has_parsed) |
47
|
7 |
16 |
unless $packages{$package} |
48
|
8 |
8 |
unless $packages{$package}{$framework} |
57
|
4 |
4 |
unless ($self->has_parsed) |
66
|
4 |
4 |
if ($framework) |
70
|
4 |
4 |
if ($params{'details'}) |
75
|
0 |
24 |
unless $packages{$name} |
|
12 |
24 |
$framework ? : |
81
|
0 |
98 |
unless $packages{$name}{$framework_version}{'versions'} |
91
|
0 |
290 |
unless $OPM::Repository::Source::a->{'name'} cmp $OPM::Repository::Source::b->{'name'} |
98
|
9 |
2 |
ref $ALLOWED_SCHEME ? : |
106
|
9 |
8 |
lc $scheme eq 'http' ? : |
108
|
11 |
6 |
if ($_[0] =~ /\A$regex\z/) |
114
|
0 |
11 |
unless $matches |
121
|
1 |
10 |
unless $self->tree |
146
|
541 |
2861 |
if (not $saved_version) { } |
|
290 |
2571 |
elsif ($self->_version_is_newer($version, $saved_version)) { } |
182
|
0 |
2861 |
$#new_levels > $#old_levels ? : |
183
|
290 |
5907 |
if (not $old_levels[$i] or $new_levels[$i] > $old_levels[$i]) { } |
|
2571 |
3336 |
elsif ($new_levels[$i] < $old_levels[$i]) { } |
200
|
7 |
1 |
if ($res->{'success'}) |
215
|
1 |
10 |
unless eval {
do {
my $parser = "XML::LibXML"->new->parse_string($self->content);
$tree = $parser->getDocumentElement
}
} |