Condition Coverage

lib/Module/Dependency/Grapher.pm
Criterion Covered Total %
condition 22 62 35.4


and 3 conditions

line !l l&&!r l&&r condition
409 24 0 0 $re and not $dep =~ /$re/
24 0 0 $xre and $dep =~ /$xre/
445 20 0 0 $re and not $dep =~ /$re/
20 0 0 $xre and $dep =~ /$xre/

or 2 conditions

line l !l condition
34 0 5 $$options{'Title'} || 'Dependency Tree'
75 0 0 $$options{'Title'} || 'Dependency Tree'
105 0 0 $$options{'ImageMapCode'} || \&_imgmapdefault
106 0 0 $$options{'HrefFormat'} || ''
151 0 0 uc $$options{'Format'} || 'PNG'
152 0 0 $$options{'Title'} || 'Dependency Chart'
175 0 0 'GD::Image'->new($imgWidth + $Module::Dependency::Grapher::wOffset + $Module::Dependency::Grapher::eOffset, $imgHeight + $Module::Dependency::Grapher::nOffset + $Module::Dependency::Grapher::sOffset) || die("Couldn't build GD object: $!")
220 0 0 $$options{'Title'} || 'Dependency Chart'
307 0 0 $$options{'Title'} || 'Dependency Chart'
310 0 0 $$options{'Font'} || 'Helvetica'
332 0 0 'PostScript::Simple'->new('eps', $eps, 'colour', $colour, 'clip', 1, 'landscape', !$eps, 'xsize', $realImgWidth, 'ysize', $realImgHeight, 'units', 'bp') || die("Can't build Postscript object: $!")
374 0 5 shift() || ''
375 0 5 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
380 1 1 3 $kind eq 'CHILD' or $kind eq 'PARENT'
2 3 0 $kind eq 'CHILD' or $kind eq 'PARENT' or $kind eq 'BOTH'
395 1 3 1 $kind eq 'CHILD' or $kind eq 'BOTH'
409 0 0 24 $re and not $dep =~ /$re/ or $xre and $dep =~ /$xre/
417 24 0 0 Module::Dependency::Info::getItem($dep) || do { $seen{$dep} = 1; next }
431 1 3 1 $kind eq 'PARENT' or $kind eq 'BOTH'
445 0 0 20 $re and not $dep =~ /$re/ or $xre and $dep =~ /$xre/
453 20 0 0 Module::Dependency::Info::getItem($dep) || do { $seen{$dep} = 1; next }