Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Generic/Dmidecode/Memory.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
11 0 0 if $params{'no_category'}{'memory'}
23 0 0 unless $memories
38 18 3 if ($infos->{'17'}) { }
3 0 elsif ($infos->{'6'}) { }
45 0 148 if $info->{'Type'} and $info->{'Type'} =~ /Flash/i
48 68 80 if ($info->{'Manufacturer'} and not $info->{'Manufacturer'} =~ / Manufacturer | Undefined | None | ^0x | 00000 | \sDIMM /xi)
79 46 102 if ($info->{'Size'} and $info->{'Size'} =~ /^(\d+) \s MB$/x)
95 5 19 if ($info->{'Installed Size'} and $info->{'Installed Size'} =~ /^(\d+)\s*(MB|Mbyte)/x)