Condition Coverage

blib/lib/Slackware/Slackget/Package.pm
Criterion Covered Total %
condition 9 39 23.0


and 3 conditions

line !l l&&!r l&&r condition
176 0 0 32 $self_version[$k] =~ /^\d+$/ and $o_pack_version[$k] =~ /^\d+$/
203 0 0 4 $self->getValue('package-version') and $o_pack->getValue('package-version')
238 0 0 4 defined $self->{'SOURCE'} and $self->{'SOURCE'} =~ /^slackware$/i
262 0 0 0 defined $self->{'SOURCE'} and $self->{'SOURCE'} =~ /^slackware$/i
326 0 0 0 defined $i and not $i =~ /(,|;|\|)/
349 0 0 0 defined $i and not $i =~ /(,|;|\|)/
402 0 0 0 $self->{'PACK'}{'name'} and defined $self->{'PACK'}{'description'}
0 0 0 $self->{'PACK'}{'name'} and defined $self->{'PACK'}{'description'} and $self->{'PACK'}{'description'}
525 4 0 0 defined $self->{'STATUS'} and ref $self->{'STATUS'} eq 'Slackware::Slackget::Status'
540 2 0 2 $self->{'STATS'}{'dwc'} == 0 and scalar @{$self->{'STATS'}{'hw'};} > 0
2 0 2 $self->{'STATS'}{'dwc'} == 0 and scalar @{$self->{'STATS'}{'hw'};} > 0 and defined $self->getValue('description')
628 2 0 0 defined $self->{'STATUS'} and ref $self->{'STATUS'} eq 'Slackware::Slackget::Status'
913 0 0 0 exists $self->{'PACK'}{'package-location'} and defined $self->{'PACK'}{'package-location'}