Branch Coverage

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

line%coveragebranch
7950TFif ($tagspec =~ /^\s*\((.*?)\)(.*)$/ and $1)
83100TF$2 ? :
88100TFif ($tag =~ /^(.*)=(.*)$/) { }
108100TFif (defined($symbol = $self->parse_tagspec($symbolspec))) { }
50TFelsif ($symbolspec =~ /^(\S+)(.*)$/) { }
113100TFif ($symbol =~ /^(['"])/ and $symbol =~ /^($1)(.*?)$1(.*)$/) { }
50TFelsif ($symbol =~ /^(\S+)(.*)$/) { }
12350TFunless $symbol
134100TFif $symbol_quoted
137100TFif ($rest =~ /^\s(\S+)(?:\s(\d+))?/) { }
50TFelsif (defined $opts{'default_minver'}) { }
158100TFif ($self->has_tag("c++"))
167100TFif ($self->get_symbolname =~ /^\*@(.*)$/)
16850TFunless $self->has_tag("symver")
16950TFunless $self->has_tag("optional")
173100TFif ($self->has_tag("symver"))
176100TFdefined $type ? :
17750TFif ($self->get_symbolname =~ /@/)
18150TFif ($self->get_symbolname eq "Base")
189100TFif ($self->has_tag("regex"))
195100TFif (defined $type)
21650TFif (not defined $templ and $name =~ /\s/)
21950TFif (not defined $quoted and defined $templ and $templ =~ /\s/)
22450TFif ($quoted) { }
238100TFif (exists $self->{'tags'}{$tagname}) { }
250100TFif (exists $self->{'tags'}{$tagname})
275100TFif $self->{'symbol'} ne $other->{'symbol'}
277100TFif ($opts{'versioning'})
27850TFif $self->{'minver'} ne $other->{'minver'}
27950TFif $self->{'dep_id'} ne $other->{'dep_id'}
28250TFif ($opts{'tags'})
28350TFif scalar @{$self->{'tagorder'};} != scalar @{$other->{'tagorder'};}
28750TFif $tag ne $other->{'tagorder'}[$i]
28850TFif (defined $self->{'tags'}{$tag} and defined $other->{'tags'}{$tag}) { }
50TFelsif (defined $self->{'tags'}{$tag} or defined $other->{'tags'}{$tag}) { }
2890TFif $self->{'tags'}{$tag} ne $other->{'tags'}{$tag}
314100TFif defined $arch and defined $arches and not debarch_is_concerned($arch, split(/[\s,]+/, $arches, 0))
319100TFif defined $bits and defined $self->{'tags'}{'arch-bits'} and $bits ne $self->{'tags'}{'arch-bits'}
321100TFif defined $endian and defined $self->{'tags'}{'arch-endian'} and $endian ne $self->{'tags'}{'arch-endian'}
37750TFunless $self->is_pattern
401100TFunless $type
40350TFif ($type)
404100TFif ($type eq 'symver') { }
50TFelsif ($rawname =~ /^_Z/ and $type eq 'c++') { }
40750TFif $rawname =~ /\@([^\@]+)$/
41750TFif ($self->has_tags)
421100TFif (defined $tagval) { }
436100TFif $self->{'deprecated'}
438100TFif ($template_mode) { }
439100TFif ($self->has_tags) { }
449100TFif $self->{'dep_id'}
458100TFif ($self->{'deprecated'}) { }
50TFelsif (&version_compare($minver, $self->{'minver'}) < 0) { }
461100TFunless $self->is_optional
468100TFif (not $self->is_pattern)
469100TFif (not $self->arch_is_concerned($arch))
486100TFunless $self->arch_is_concerned($arch)
488100TFif ($self->{'deprecated'}) { }
50TFelsif (&version_compare($minver, $self->{'minver'}) > 0) { }
49150TFif $self->is_optional
51350TFif ($self->is_pattern)
516100TFif (&any(sub {         $tag eq $_; } , ('c++', 'symver'))) { }
100TFelsif ($tag eq 'regex') { }
523100TFunless $ok
528100TFif ($ok and $do_eq_match)