Condition Coverage

blib/lib/MDV/Distribconf/Build.pm
Criterion Covered Total %
condition 3 30 10.0


and 3 conditions

line !l l&&!r l&&r condition
115 0 2 0 $media and not $distrib->mediaexists($media)
218 0 0 0 $vsettings->{'ismedialist'} and $distrib->getvalue($media, $val)

or 2 conditions

line l !l condition
51 0 0 $flavour || 'mandriva'
112 2 1 $media ||= 'media_info'
254 0 0 join('', map({"${_}:";} grep({$distrib->getvalue($media, $_);} 'askmedia', 'suppl', 'noauto'))) || ''
298 0 0 $distrib->getvalue(undef, 'version') || 'cauldron'
0 0 $distrib->getvalue(undef, 'branch') || 'cauldron'
0 0 $distrib->getvalue(undef, 'arch') || 'noarch'

or 3 conditions

line l !l&&r !l&&!r condition
248 0 0 0 $hdlists ||= "$distrib->{'root'}/$distrib->{'infodir'}/hdlists"
276 0 0 0 $hdlistscfg ||= "$distrib->{'root'}/$distrib->{'infodir'}/media.cfg"
292 0 0 0 $version ||= $distrib->getfullpath(undef, 'VERSION')
325 0 0 0 $productid ||= $distrib->getfullpath(undef, 'product.id')