Condition Coverage

blib/lib/Dpkg/Shlibs/SymbolFile.pm
Criterion Covered Total %
condition 71 100 71.0


and 3 conditions

line !l l&&!r l&&r condition
84 10 18089 8 not do { $include_groups }->{'aeabi'} and $symbol =~ /^__aeabi_/
89 10 18081 8 not do { $include_groups }->{'gomp'} and $symbol =~ /^\.gomp_critical_user_/
297 28 0 2 exists $opts{'package'} and not $opts{'template_mode'}
304 16 0 2 exists $opts{'package'} and not $opts{'template_mode'}
313 0 0 2 exists $opts{'package'} and not $opts{'template_mode'}
330 13848 132 0 $sym->{'deprecated'} and not $opts{'with_deprecated'}
338 13896 0 0 $opts{'with_pattern_matches'} and $sym->is_pattern
360 0 0 339 defined $p && ($inc_deprecated || !$p->{'deprecated'}) && $p->arch_is_concerned($self->get_arch)
371 18678 0 545 exists $all_aliases->{$type} and keys %{$$all_aliases{$type};}
375 0 472 72 $alias and exists $aliases->{$alias}
387 0 144 123 &$pattern_ok($p) and $p->matches_rawname($name)
570 10425 86 26513 $sym and $inc_deprecated || !$sym->{'deprecated'}
588 0 0 88 $refpat and $refpat->is_pattern
598 5 68 47 $inc_deprecated || !$p->{'deprecated'} and $p->equals($refpat, 'versioning', 0)
606 0 3 85 $pat and $inc_deprecated || !$pat->{'deprecated'}
667 2 0 33 defined $refpat and $refpat->is_legitimate($self->get_arch)

or 2 conditions

line l !l condition
183 22 24 $object->{'patterns'}{'aliases'}{$alias_type} //= {}
202 40 5202 shift() || 'Dpkg::Shlibs::Symbol'
209 18 35 $opts{'state'} //= {}
290 4 26 $opts{'template_mode'} //= 0
291 0 30 $opts{'with_deprecated'} //= 1
292 0 30 $opts{'with_pattern_matches'} //= 0
355 9632 0 $inc_deprecated //= 0
523 0 0 $dep_id //= 0
529 0 4 $dep_id //= 0
564 27343 18261 $inc_deprecated //= 0
584 80 8 $inc_deprecated //= 0

or 3 conditions

line l !l&&r !l&&!r condition
96 0 41 0 ref $this || $this
99 10 31 0 $self->{'arch'} //= &get_host_arch()
333 118 13778 84 $opts{'template_mode'} or $sym->arch_is_concerned($self->get_arch)
536 10 4 0 $minver //= $sym->{'minver'}
570 17669 8922 8 $inc_deprecated || !$sym->{'deprecated'}
598 77 38 5 $inc_deprecated || !$p->{'deprecated'}
606 45 41 2 $inc_deprecated || !$pat->{'deprecated'}
635 0 9427 58 $with_optional or not $_->is_optional
651 42 0 436 $sym->get_pattern && $ref->lookup_pattern($sym->get_pattern, $soname, 1) || $ref->find_matching_pattern($sym, $soname, 1)
660 0 35 14 $with_optional or not $_->is_optional