Branch Coverage

File:Dpkg/Shlibs/SymbolFile.pm
Coverage:77.5%

line%coveragebranch
80100TFif exists $internal_symbol{$symbol}
84100TFif not do {         $include_groups }->{'aeabi'} and $symbol =~ /^__aeabi_/
89100TFif not do {         $include_groups }->{'gomp'} and $symbol =~ /^\.gomp_critical_user_/
10150TFif (exists $self->{'file'})
102100TFif -e $self->{'file'}
1220TFunless exists $has{$objid}
13350TFif (defined $soname) { }
13550TFdefined $obj ? :
14850TFif (defined $soname) { }
166100TFexists $opts{'base'} ? :
168100TF$opts{'dummy'} ? :
17050TFif ($ret)
181100TFif ($symbol->is_pattern) { }
182100TFif (my $alias_type = $symbol->get_alias_type) { }
203100TFref $base ? :
211100TFif (exists $state->{'seen'}) { }
212100TFif exists $state->{'seen'}{$file}
219100TFunless (ref $state->{'obj_ref'})
226100TFif (/^(?:\s+|#(?:DEPRECATED|MISSING): ([^#]+)#\s*)(.*)/) { }
100TFelsif (/^(\(.*\))?#include\s+"([^"]+)"/) { }
100TFelsif (/^#|^$/) { }
100TFelsif (/^\|\s*(.*)$/) { }
100TFelsif (/^\*\s*([^:]+):\s*(.*\S)\s*$/) { }
50TFelsif (/^(\S+)\s+(.*)$/) { }
22750TFunless (defined ${$$state{"obj_ref"};})
231100TF$1 ? :
23350TFif ($self->create_symbol($2, 'base', $sym)) { }
244100TFif (defined $tagspec)
263100TFif (exists $self->{'objects'}{${$state->{'obj_ref'};}}) { }
2810TFif (not $self->has_object($objid)) { }
297100TFif (exists $opts{'package'} and not $opts{'template_mode'})
300100TFif defined $fh
301100TFif defined wantarray
304100TFif (exists $opts{'package'} and not $opts{'template_mode'})
307100TFif defined $fh
308100TFif defined wantarray
31350TFif (exists $opts{'package'} and not $opts{'template_mode'})
31650TFif defined $fh
31750TFif defined wantarray
321100TFif ($opts{'template_mode'}) { }
33050TFif $sym->{'deprecated'} and not $opts{'with_deprecated'}
333100TFunless $opts{'template_mode'} or $sym->arch_is_concerned($self->get_arch)
335100TFif defined $fh
336100TFif defined wantarray
33850TFif ($opts{'with_pattern_matches'} and $sym->is_pattern)
3420TFif defined $fh
3430TFif defined wantarray
356100TFref $refsym ? :
36450TFref $sonames eq 'ARRAY' ? :
36750TFunless defined $obj
37150TFif (exists $all_aliases->{$type} and keys %{$$all_aliases{$type};})
37450TFif (my $alias = $converter->convert_to_alias($name))
375100TFif ($alias and exists $aliases->{$alias})
37750TFif &$pattern_ok($pattern)
385100TFunless (defined $pattern)
387100TFif (&$pattern_ok($p) and $p->matches_rawname($name))
393100TFif (defined $pattern)
39450TFwantarray ? :
40850TFunless $soname
413100TFunless (defined $groups)
41550TFif (defined $groups)
421100TFif (defined $groups)
42850TF$sym->{'version'} ? :
430100TFif (symbol_is_internal($sym->{'name'}, \%include_groups))
431100TFunless defined $symobj
433100TFif ($symobj->has_tag('allow-internal')) { }
50TFelsif ($symobj->has_tag('ignore-blacklist')) { }
448100TFunless ($self->has_object($soname))
459100TFif ($sym = $self->lookup_symbol($name, $obj, 1)) { }
466100TFif (defined $pattern) { }
480100TFunless (exists $dynsyms{$sym->get_symbolname})
4940TFscalar keys %{$$self{'objects'};} ? :
504100TFref $soname ? :
53250TFif defined $so_object->{'minver_cache'}[$dep_id]
535100TFif $dep_id != $sym->{'dep_id'}
537100TFif (&version_compare($minver, $sym->{'minver'}) > 0)
552100TFif (my $obj = $self->get_object($soname))
553100TFif (exists $obj->{'fields'}{$name})
565100TFref $refsym ? :
567100TFref $sonames eq 'ARRAY' ? :
568100TFif (my $obj = $self->get_object($so))
570100TFif ($sym and $inc_deprecated || !$sym->{'deprecated'})
572100TFwantarray ? :
586100TFunless ref $refpat
58850TFif ($refpat and $refpat->is_pattern)
58950TFref $sonames eq 'ARRAY' ? :
59050TFif (my $obj = $self->get_object($soname))
592100TFif (my $type = $refpat->get_alias_type) { }
50TFelsif ($refpat->get_pattern_type eq 'generic') { }
59350TFif (exists $obj->{'patterns'}{'aliases'}{$type})
598100TFif ($inc_deprecated || !$p->{'deprecated'} and $p->equals($refpat, "versioning", 0))
606100TFif ($pat and $inc_deprecated || !$pat->{'deprecated'})
60750TFwantarray ? :
6200TFunless (defined $sym)
62950TFexists $opts{'with_optional'} ? :
63250TFunless $ref->has_object($soname)
635100TFif $with_optional or not $_->is_optional
641100TFif (defined $refsym) { }
656100TFif $isnew
660100TFif $with_optional or not $_->is_optional
667100TFunless (defined $refpat and $refpat->is_legitimate($self->get_arch))
6870TFunless $ref->get_object($soname)