Condition Coverage

blib/lib/Slackware/Slackget/Package.pm
Criterion Covered Total %
condition 10 48 20.8


and 3 conditions

line !l l&&!r l&&r condition
177 0 0 32 $self_version[$k] =~ /^\d+$/ and $o_pack_version[$k] =~ /^\d+$/
204 0 0 4 $self->getValue('package-version') and $o_pack->getValue('package-version')
240 12 0 4 defined $$self{'SOURCE'} and $$self{'SOURCE'} =~ /^slackware$/i
267 0 0 0 defined $$self{'SOURCE'} and $$self{'SOURCE'} =~ /^slackware$/i
333 0 0 0 defined $i and not $i =~ /(,|;|\|)/
356 0 0 0 defined $i and not $i =~ /(,|;|\|)/
378 0 0 0 defined $i and not $i =~ /(,|;|\|)/
431 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'}
554 14 0 0 defined $$self{'STATUS'} and ref $$self{'STATUS'} eq 'Slackware::Slackget::Status'
569 0 0 14 $$self{'STATS'}{'dwc'} == 0 and scalar @{$$self{'STATS'}{'hw'};} > 0
0 12 2 $$self{'STATS'}{'dwc'} == 0 and scalar @{$$self{'STATS'}{'hw'};} > 0 and defined $self->getValue('description')
736 14 0 0 defined $$self{'STATUS'} and ref $$self{'STATUS'} eq 'Slackware::Slackget::Status'
934 0 0 0 defined $type and $type eq 'required' || $type eq 'suggested' || $type eq 'conflicts'
1052 0 0 2 exists $$self{'PACK'}{'package-location'} and defined $$self{'PACK'}{'package-location'}

or 3 conditions

line l !l&&r !l&&!r condition
934 0 0 0 $type eq 'required' || $type eq 'suggested' || $type eq 'conflicts'