Branch Coverage

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

line%coveragebranch
88100TFif exists $internal_symbol{$symbol}
92100TFif not do {         $include_groups }->{'aeabi'} and $symbol =~ /^__aeabi_/
97100TFif not do {         $include_groups }->{'gomp'} and $symbol =~ /^\.gomp_critical_user_/
10950TFif (exists $self->{'file'})
110100TFif -e $self->{'file'}
1300TFunless exists $has{$objid}
14150TFif (defined $soname) { }
14350TFdefined $obj ? :
15650TFif (defined $soname) { }
174100TFexists $opts{'base'} ? :
176100TF$opts{'dummy'} ? :
17850TFif ($ret)
189100TFif ($symbol->is_pattern) { }
190100TFif (my $alias_type = $symbol->get_alias_type) { }
211100TFref $base ? :
219100TFif (exists $state->{'seen'}) { }
220100TFif exists $state->{'seen'}{$file}
227100TFunless (ref $state->{'obj_ref'})
234100TFif (/^(?:\s+|#(?:DEPRECATED|MISSING): ([^#]+)#\s*)(.*)/) { }
100TFelsif (/^(\(.*\))?#include\s+"([^"]+)"/) { }
100TFelsif (/^#|^$/) { }
100TFelsif (/^\|\s*(.*)$/) { }
100TFelsif (/^\*\s*([^:]+):\s*(.*\S)\s*$/) { }
50TFelsif (/^(\S+)\s+(.*)$/) { }
23550TFunless (defined ${$$state{"obj_ref"};})
239100TF$1 ? :
24150TFif ($self->create_symbol($2, 'base', $sym)) { }
252100TFif (defined $tagspec)
271100TFif (exists $self->{'objects'}{${$state->{'obj_ref'};}}) { }
2890TFif (not $self->has_object($objid)) { }
305100TFif (exists $opts{'package'} and not $opts{'template_mode'})
308100TFif defined $fh
309100TFif defined wantarray
312100TFif (exists $opts{'package'} and not $opts{'template_mode'})
315100TFif defined $fh
316100TFif defined wantarray
32150TFif (exists $opts{'package'} and not $opts{'template_mode'})
32450TFif defined $fh
32550TFif defined wantarray
329100TFif ($opts{'template_mode'}) { }
33850TFif $sym->{'deprecated'} and not $opts{'with_deprecated'}
341100TFunless $opts{'template_mode'} or $sym->arch_is_concerned($self->get_arch)
343100TFif defined $fh
344100TFif defined wantarray
34650TFif ($opts{'with_pattern_matches'} and $sym->is_pattern)
3500TFif defined $fh
3510TFif defined wantarray
364100TFref $refsym ? :
37250TFref $sonames eq 'ARRAY' ? :
37550TFunless defined $obj
37950TFif (exists $all_aliases->{$type} and keys %{$$all_aliases{$type};})
38250TFif (my $alias = $converter->convert_to_alias($name))
383100TFif ($alias and exists $aliases->{$alias})
38550TFif &$pattern_ok($pattern)
393100TFunless (defined $pattern)
395100TFif (&$pattern_ok($p) and $p->matches_rawname($name))
401100TFif (defined $pattern)
40250TFwantarray ? :
41650TFunless $soname
421100TFunless (defined $groups)
42350TFif (defined $groups)
429100TFif (defined $groups)
43650TF$sym->{'version'} ? :
438100TFif (symbol_is_internal($sym->{'name'}, \%include_groups))
439100TFunless defined $symobj
441100TFif ($symobj->has_tag('allow-internal')) { }
50TFelsif ($symobj->has_tag('ignore-blacklist')) { }
456100TFunless ($self->has_object($soname))
467100TFif ($sym = $self->lookup_symbol($name, $obj, 1)) { }
474100TFif (defined $pattern) { }
488100TFunless (exists $dynsyms{$sym->get_symbolname})
5020TFscalar keys %{$$self{'objects'};} ? :
512100TFref $soname ? :
54050TFif defined $so_object->{'minver_cache'}[$dep_id]
543100TFif $dep_id != $sym->{'dep_id'}
545100TFif (&version_compare($minver, $sym->{'minver'}) > 0)
560100TFif (my $obj = $self->get_object($soname))
561100TFif (exists $obj->{'fields'}{$name})
573100TFref $refsym ? :
575100TFref $sonames eq 'ARRAY' ? :
576100TFif (my $obj = $self->get_object($so))
578100TFif ($sym and $inc_deprecated || !$sym->{'deprecated'})
580100TFwantarray ? :
594100TFunless ref $refpat
59650TFif ($refpat and $refpat->is_pattern)
59750TFref $sonames eq 'ARRAY' ? :
59850TFif (my $obj = $self->get_object($soname))
600100TFif (my $type = $refpat->get_alias_type) { }
50TFelsif ($refpat->get_pattern_type eq 'generic') { }
60150TFif (exists $obj->{'patterns'}{'aliases'}{$type})
606100TFif ($inc_deprecated || !$p->{'deprecated'} and $p->equals($refpat, "versioning", 0))
614100TFif ($pat and $inc_deprecated || !$pat->{'deprecated'})
61550TFwantarray ? :
6280TFunless (defined $sym)
63750TFexists $opts{'with_optional'} ? :
64050TFunless $ref->has_object($soname)
643100TFif $with_optional or not $_->is_optional
649100TFif (defined $refsym) { }
664100TFif $isnew
668100TFif $with_optional or not $_->is_optional
675100TFunless (defined $refpat and $refpat->is_legitimate($self->get_arch))
6950TFunless $ref->get_object($soname)