Condition Coverage

blib/lib/Dpkg/Control/HashCore.pm
Criterion Covered Total %
condition 26 36 72.2


and 3 conditions

line !l l&&!r l&&r condition
204 101 15 0 length $_ == 0 and $paraborder
211 15 17 81 defined $name and $name =~ /^\S+?$/
9 0 0 $expect_pgp_sig and $armor =~ /^-----BEGIN PGP SIGNATURE-----[\r\t ]*$/
236 0 3 3 defined $_ and /^\s*$/
261 0 1 4 $$self->{'allow_pgp'} and not $parabody
275 30 3 1 $expect_pgp_sig and not $$self->{'is_pgp_signed'}
340 10 12 163 defined $imp->{$a} and defined $imp->{$b}
358 37 99 1 $$self->{'drop_empty'} and not $value =~ /\S/

or 3 conditions

line l !l&&r !l&&!r condition
109 0 789 0 ref $this || $this
211 15 0 9 length $_ == 0 or $expect_pgp_sig and $armor =~ /^-----BEGIN PGP SIGNATURE-----[\r\t ]*$/
367 34 3 73 length $_ == 0 or /^\.+$/
479 789 0 0 $parent->isa('Dpkg::Control::HashCore') or $parent->isa('Dpkg::Control::Hash')