Branch Coverage

File:Dpkg/Control/HashCore.pm
Coverage:65.8%

line%coveragebranch
182100TFif @args
21450TFif length $_ == 0 and $paraborder
217100TFif $lead eq "#"
221100TFif (defined $name and $name =~ /^\S+?$/) { }
100TFelsif (/^\s(\s*\S.*)$/) { }
100TFelsif (length $_ == 0 or $expect_pgp_sig and $armor =~ /^-----BEGIN PGP SIGNATURE-----[\r\t ]*$/) { }
100TFelsif ($armor =~ /^-----BEGIN PGP SIGNED MESSAGE-----[\r\t ]*$/) { }
22350TFif ($lead eq "-")
22650TFif (exists $self->{$name}) { }
2270TFunless ($$self->{'allow_duplicate'})
2300TFif ($$self->{'keep_duplicate'}) { }
2310TFif (ref $self->{$name} ne 'ARRAY') { }
24850TFunless (defined $cf)
251100TFif ($line =~ /^\.+$/)
257100TFif ($expect_pgp_sig)
26050TFunless (length $_)
26550TFunless (/^-----BEGIN PGP SIGNATURE-----[\r\t ]*$/)
272100TFif /^-----END PGP SIGNATURE-----[\r\t ]*$/
27450TFunless (defined $_)
285100TFif ($$self->{'allow_pgp'} and not $parabody) { }
288100TFif /^\s*$/
299100TFif ($expect_pgp_sig and not $$self->{'is_pgp_signed'})
3220TFif $key =~ /^X[SBC]*-\Q$name\E$/i
3360TFif defined $key
35950TFif (@{$$self->{'out_order'};}) { }
364100TFif (defined $imp->{$a} and defined $imp->{$b}) { }
100TFelsif (defined $imp->{$a}) { }
100TFelsif (defined $imp->{$b}) { }
37950TFif (exists $self->{$key})
382100TFif $$self->{'drop_empty'} and not $value =~ /\S/
387100TFif length $first_line
391100TFif (length $_ == 0 or /^\.+$/) { }
398100TFif ($fh)
39950TFunless print {$fh;} $kv
402100TFif defined wantarray
4390TFif ($v ne $self->{$f})
4480TFif ($sep & 6)
4530TFif ($sep & 2)