Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Linux/i386/CPU.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
12 0 0 if $params{'no_category'}{'cpu'}
34 7 0 $params{'dmidecode'} ? :
44 27 2 if (defined $cpuId) { }
45 21 6 if $seen{$cpuId}++
70 3 5 if $dmidecodeInfo->{'ID'}
71 0 8 if $dmidecodeInfo->{'SERIAL'}
72 2 6 if $dmidecodeInfo->{'EXTERNAL_CLOCK'}
73 2 6 if $dmidecodeInfo->{'FAMILYNAME'}
75 8 0 if ($cpu->{'NAME'} =~ /([\d\.]+)s*(GHZ)/i)