Branch Coverage

File:Dpkg/Shlibs/Symbol.pm
Coverage:76.9%

line%coveragebranch
7050TFif ($tagspec =~ /^\s*\((.*?)\)(.*)$/ and $1)
74100TF$2 ? :
79100TFif ($tag =~ /^(.*)=(.*)$/) { }
99100TFif (defined($symbol = $self->parse_tagspec($symbolspec))) { }
104100TFif ($symbol =~ /^(['"])/ and $symbol =~ /^($1)(.*?)$1(.*)$/) { }
11050TFif ($symbol =~ /^(\S+)(.*)$/)
11650TFunless $symbol
12050TFif ($symbolspec =~ /^(\S+)(.*)$/) { }
129100TFif $symbol_quoted
132100TFif ($rest =~ /^\s(\S+)(?:\s(\d+))?/) { }
50TFelsif (defined $opts{'default_minver'}) { }
153100TFif ($self->has_tag("c++"))
162100TFif ($self->get_symbolname =~ /^\*@(.*)$/)
16350TFunless $self->has_tag("symver")
16450TFunless $self->has_tag("optional")
168100TFif ($self->has_tag("symver"))
171100TFdefined $type ? :
17250TFif ($self->get_symbolname =~ /@/)
17650TFif ($self->get_symbolname eq "Base")
184100TFif ($self->has_tag("regex"))
190100TFif (defined $type)
21150TFif (not defined $templ and $name =~ /\s/)
21450TFif (not defined $quoted and defined $templ and $templ =~ /\s/)
21950TFif ($quoted) { }
233100TFif (exists $self->{'tags'}{$tagname}) { }
245100TFif (exists $self->{'tags'}{$tagname})
270100TFif $self->{'symbol'} ne $other->{'symbol'}
272100TFif ($opts{'versioning'})
27350TFif $self->{'minver'} ne $other->{'minver'}
27450TFif $self->{'dep_id'} ne $other->{'dep_id'}
27750TFif ($opts{'tags'})
27850TFif scalar @{$self->{'tagorder'};} != scalar @{$other->{'tagorder'};}
28250TFif $tag ne $other->{'tagorder'}[$i]
28350TFif (defined $self->{'tags'}{$tag} and defined $other->{'tags'}{$tag}) { }
50TFelsif (defined $self->{'tags'}{$tag} or defined $other->{'tags'}{$tag}) { }
2840TFif $self->{'tags'}{$tag} ne $other->{'tags'}{$tag}
309100TFif defined $arch and defined $arches and not debarch_is_concerned($arch, split(/[\s,]+/, $arches, 0))
314100TFif defined $bits and defined $self->{'tags'}{'arch-bits'} and $bits ne $self->{'tags'}{'arch-bits'}
316100TFif defined $endian and defined $self->{'tags'}{'arch-endian'} and $endian ne $self->{'tags'}{'arch-endian'}
37250TFunless $self->is_pattern
396100TFunless $type
39850TFif ($type)
399100TFif ($type eq 'symver') { }
50TFelsif ($rawname =~ /^_Z/ and $type eq 'c++') { }
40250TFif $rawname =~ /\@([^\@]+)$/
41250TFif ($self->has_tags)
416100TFif (defined $tagval) { }
431100TFif $self->{'deprecated'}
433100TFif ($template_mode) { }
434100TFif ($self->has_tags) { }
444100TFif $self->{'dep_id'}
453100TFif ($self->{'deprecated'}) { }
456100TFunless $self->is_optional
46050TFif (&version_compare($minver, $self->{'minver'}) < 0)
465100TFif (not $self->is_pattern)
466100TFif (not $self->arch_is_concerned($arch))
483100TFunless $self->arch_is_concerned($arch)
485100TFif ($self->{'deprecated'}) { }
50TFelsif (&version_compare($minver, $self->{'minver'}) > 0) { }
48850TFif $self->is_optional
51050TFif ($self->is_pattern)
513100TFif (&any(sub {         $tag eq $_; } , ('c++', 'symver'))) { }
100TFelsif ($tag eq 'regex') { }
520100TFunless $ok
525100TFif ($ok and $do_eq_match)