line |
true |
false |
branch |
131
|
254 |
0 |
if defined $arg |
164
|
3 |
251 |
if ($self->{'tests_dep'}) { } |
170
|
4 |
250 |
unless $dep =~ /^\s* # skip leading whitespace
($pkgname_re) # package name
(?: # start of optional part
: # colon for architecture
([a-zA-Z0-9][a-zA-Z0-9-]*) # architecture name
)? # end of optional part
(?: # start of optional part
\s* \( # open parenthesis for version part
\s* (<<|<=|=|>=|>>|[<>]) # relation part
\s* ([^\)\s]+) # do not attempt to parse version
\s* \) # closing parenthesis
)? # end of optional part
(?: # start of optional architecture
\s* \[ # open bracket for architecture
\s* ([^\]]+) # don't parse architectures now
\s* \] # closing bracket
)? # end of optional architecture
(
(?: # start of optional restriction
\s* < # open bracket for restriction
\s* [^>]+ # do not parse restrictions now
\s* > # closing bracket
)+
)? # end of optional restriction
\s*$ # trailing spaces at end
/x |
197
|
18 |
232 |
if (defined $2) |
198
|
0 |
18 |
if $2 eq 'native' and not $self->{'build_dep'} |
202
|
46 |
204 |
if defined $3 |
203
|
46 |
204 |
if (defined $4) |
206
|
10 |
240 |
if (defined $5) |
209
|
133 |
117 |
if (defined $6) |
245
|
10 |
131 |
if (defined $self->{'archqual'}) |
248
|
30 |
111 |
if (defined $self->{'relation'}) |
251
|
1 |
140 |
if (defined $self->{'arches'}) |
254
|
6 |
135 |
if (defined $self->{'restrictions'}) |
259
|
0 |
141 |
if (defined $fh) |
278
|
0 |
70 |
if my $p_arch_neg = defined $p |
279
|
0 |
70 |
if my $q_arch_neg = defined $q |
283
|
70 |
0 |
if (not defined $p) { } |
|
0 |
0 |
elsif (not defined $q) { } |
|
0 |
0 |
elsif (not $p_arch_neg || $q_arch_neg) { } |
|
0 |
0 |
elsif ($p_arch_neg and $q_arch_neg) { } |
|
0 |
0 |
elsif (not $p_arch_neg and $q_arch_neg) { } |
|
0 |
0 |
elsif ($p_arch_neg and not $q_arch_neg) { } |
297
|
0 |
0 |
unless $p_arches{$arch} |
299
|
0 |
0 |
unless $subset |
308
|
0 |
0 |
unless $q_arches{$arch} |
310
|
0 |
0 |
unless $subset |
323
|
0 |
0 |
if $q_arches{substr $arch, 1} |
325
|
0 |
0 |
unless $subset |
345
|
17 |
53 |
if defined $p and defined $q |
346
|
45 |
4 |
unless defined $p or defined $q |
359
|
45 |
3 |
if (not defined $p) { } |
|
0 |
3 |
elsif (not defined $q) { } |
391
|
276 |
27 |
if ($o->isa('Dpkg::Deps::Simple')) { } |
|
24 |
3 |
elsif ($o->isa('Dpkg::Deps::AND')) { } |
|
3 |
0 |
elsif ($o->isa('Dpkg::Deps::OR')) { } |
393
|
206 |
70 |
if $self->{'package'} ne $o->{'package'} |
397
|
0 |
70 |
unless _arch_is_superset($self->{'arches'}, $o->{'arches'}) |
401
|
22 |
48 |
unless _arch_qualifier_implies($self->{'archqual'}, $o->{'archqual'}) |
405
|
2 |
46 |
unless _restrictions_imply($self->{'restrictions'}, $o->{'restrictions'}) |
408
|
15 |
31 |
unless defined $o->{'relation'} |
411
|
6 |
25 |
unless defined $self->{'relation'} |
421
|
73 |
7 |
unless (defined $implication and $implication == 1) |
423
|
1 |
72 |
if defined $res |
434
|
1 |
4 |
if (defined $implication) |
435
|
1 |
0 |
if (not defined $res) { } |
438
|
0 |
0 |
if ($implication) { } |
444
|
1 |
0 |
if defined $res and $res == 1 |
486
|
6 |
24 |
unless defined $self->{'package'} |
487
|
15 |
9 |
unless defined $self->{'arches'} |
503
|
6 |
9 |
if (not $self->arch_is_concerned($host_arch)) { } |
520
|
0 |
0 |
if (defined $self->{'arches'}) { } |
536
|
58 |
194 |
unless defined $self->{'package'} |
537
|
70 |
124 |
unless defined $self->{'restrictions'} |
552
|
58 |
66 |
if (not $self->profile_is_concerned($build_profiles)) { } |
573
|
0 |
56 |
unless defined $self->{'package'} |
589
|
0 |
0 |
if defined $eval and $eval == 1 |
615
|
0 |
17 |
unless $o->isa('Dpkg::Deps::Simple') |
616
|
0 |
17 |
if $self->is_empty or $o->is_empty |
617
|
11 |
6 |
if $self->{'package'} ne $o->{'package'} |
618
|
0 |
6 |
if defined $self->{'arches'} or defined $o->{'arches'} |
620
|
0 |
6 |
if (not defined $o->{'relation'} and defined $self->{'relation'}) |
629
|
4 |
2 |
if (defined $implication) |
630
|
1 |
3 |
if ($implication) { } |
638
|
2 |
0 |
if (defined $rev_implication) |
639
|
2 |
0 |
if ($rev_implication) { } |