Condition Coverage

blib/lib/Dpkg/Checksums.pm
Criterion Covered Total %
condition 18 43 41.8


and 3 conditions

line !l l&&!r l&&r condition
180 0 3 0 not $opts{'update'} and exists $self->{'size'}{$key}
3 0 0 not $opts{'update'} and exists $self->{'size'}{$key} and $self->{'size'}{$key} != $s[7]
194 0 9 0 not $opts{'update'} and exists $self->{'checksums'}{$key}{$alg}
9 0 0 not $opts{'update'} and exists $self->{'checksums'}{$key}{$alg} and $self->{'checksums'}{$key}{$alg} ne $newsum
231 0 3 9 not $opts{'update'} and exists $checksums->{$file}{$alg}
3 9 0 not $opts{'update'} and exists $checksums->{$file}{$alg} and $checksums->{$file}{$alg} ne $sum
236 0 1 11 not $opts{'update'} and exists $self->{'size'}{$file}
1 11 0 not $opts{'update'} and exists $self->{'size'}{$file} and $self->{'size'}{$file} != $size
264 3 0 0 $opts{'use_files_for_md5'} and $alg eq 'md5'
351 0 0 0 defined $self->get_checksum($file, $alg) and &checksums_get_property($alg, 'strong')
372 0 0 27 defined $sum and defined $size
390 3 0 0 $opts{'use_files_for_md5'} and $alg eq 'md5'

or 2 conditions

line l !l condition
261 0 1 $opts{'use_files_for_md5'} //= 0
387 0 1 $opts{'use_files_for_md5'} //= 0

or 3 conditions

line l !l&&r !l&&!r condition
128 0 1 0 ref $this || $this