Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Win32/CPU.pm
Criterion Covered Total %
branch 9 16 56.2


line true false branch
15 0 0 if $params{'no_category'}{'cpu'}
34 0 0 if (&any(sub { $_->{'NAME'} =~ /QEMU/i; } , @cpus))
44 3 2 Win32::GetOSName() eq 'Win2003' ? :
65 3 5 !$dmidecodeInfo->{'THREAD'} && $object->{'NumberOfCores'} ? :
85 0 8 unless ($cpu->{'NAME'})
87 0 0 if ($cpu->{'NAME'} =~ s/,\s(\S+)$//)
92 1 7 if ($cpu->{'SERIAL'})
96 6 2 if ($cpu->{'NAME'} =~ /([\d\.]+)s*(GHZ)/i)