Condition Coverage

blib/lib/MDV/Distribconf.pm
Criterion Covered Total %
condition 28 42 66.6


and 3 conditions

line !l l&&!r l&&r condition
273 1 1 1 $spec and $spec =~ /mandrake/i
370 23 0 21 -f $mediacfg and -r _
23 0 21 -f $mediacfg and -r _ and $$distrib{'cfg'} = 'Config::IniFiles'->new(-'file', $mediacfg, -'default', 'media_info', -'allowcontinue', 1)

or 2 conditions

line l !l condition
275 2 1 $$spec{$_} || ''
396 1504 268 $media ||= 'media_info'
405 31 2 $media ||= 'media_info'
406 2 31 $level ||= 0
434 398 859 $media ||= 'media_info'
452 0 0 $distrib->getvalue(undef, $_) || ''
457 253 280 $$distrib{'cfg'}->val('media_info', 'mediacfg_version') || 1
499 513 0 $var ||= ''
545 22 0 $_[1] || ''

or 3 conditions

line l !l&&r !l&&!r condition
208 20 23 0 $distrib->parse_mediacfg or $distrib->parse_hdlists
302 0 23 0 $hdlists ||= "$$distrib{'root'}/$$distrib{'infodir'}/hdlists"
343 0 0 0 $fversion ||= $distrib->getfullpath(undef, 'VERSION')
369 1 43 0 $mediacfg ||= "$$distrib{'root'}/$$distrib{'infodir'}/media.cfg"
397 1191 581 0 $media eq 'media_info' || $$distrib{'cfg'}->SectionExists($media)