Branch Coverage

lib/Module/Dependency/Info.pm
Criterion Covered Total %
branch 30 38 78.9


line true false branch
19 0 7 unless $file
35 2 0 if $data
38 0 2 unless -d $CACHEDIR
40 0 2 unless nstore($Module::Dependency::Info::UNIFIED, $unified_file)
45 0 2 if (not $Module::Dependency::Info::LOADED or $force)
51 0 2 if (not $Module::Dependency::Info::LOADED or $force)
57 4 162 if (not $Module::Dependency::Info::LOADED or $force)
59 152 14 if (exists $$Module::Dependency::Info::UNIFIED{'allobjects'}{$packname}) { }
97 1 6 if ($isParent and $isChild) { }
1 5 elsif ($isParent) { }
2 3 elsif ($isChild) { }
110 2 19 if $$seen{$itemName}++
113 2 15 if $_ eq $otherItem
117 0 14 if $depth > 1000
118 2 12 if _isParent($_, $otherItem, $seen, $depth++)
126 7 21 if $$seen{$itemName}++
129 3 29 if $_ eq $otherItem
133 0 21 if $depth > 1000
134 1 20 if _isChild($_, $otherItem, $seen, $depth++)