Condition Coverage

blib/lib/Dpkg/Substvars.pm
Criterion Covered Total %
condition 19 26 73.0


or 2 conditions

line l !l condition
105 22 26 $attr //= 0
324 0 4 $opts{'no_warn'} //= 0
403 2 1 $opts{'remove'} // sub { 0; }
404 2 1 $opts{'keep'} // sub { 1; }

or 3 conditions

line l !l&&r !l&&!r condition
73 0 4 0 ref $this || $this
188 4 2 24 /^\s*\#/ or not /\S/
218 2 1 0 $binaryversion //= $sourceversion
323 0 3 1 $opts{'msg_prefix'} //= $self->{'msg_prefix'}
365 0 2 0 $opts{'msg_prefix'} //= $self->{'msg_prefix'}
407 6 15 15 &$remove($vn) or not &$keep($vn)