Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Solaris/CPU.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
13 0 0 if $params{'no_category'}{'cpu'}
42 0 0 $_ ? :
44 0 0 unless $$_{'speed'}
49 0 0 $_ ? :
51 0 0 unless $$_{'speed'}
65 0 0 $physical_speed ? :
68 0 0 $virtual_speed ? :
72 0 0 $type =~ /Xeon/ ? :
0 0 $type =~ /SPARC/ ? :
78 0 0 $type eq 'SPARC64-VIII' ? :
0 0 $type eq 'SPARC64-VII++' ? :
0 0 $type eq 'SPARC64-VII+' ? :
0 0 $type eq 'SPARC64-VII' ? :
0 0 $type eq 'SPARC64-VI' ? :
0 0 $type eq 'SPARC-T3' ? :
0 0 $type eq 'UltraSPARC-T2+' ? :
0 0 $type eq 'UltraSPARC-T2' ? :
0 0 $type eq 'UltraSPARC-T1' ? :
0 0 $type eq 'UltraSPARC-IV' ? :
91 0 0 if ($type =~ /MB86907/) { }
0 0 elsif ($type =~ /MB86904|390S10/) { }
0 0 elsif ($type =~ /,RT62[56]/) { }
94 0 0 $speed > 70 ? :
100 0 0 unless ($cores)
127 0 0 unless $handle
131 0 0 if ($line =~ /The (\S+) processor operates at (\d+) MHz/)
151 0 0 unless $handle
156 0 0 if ($line =~ /^The physical processor has (\d+) virtual/)
163 0 0 if ($line =~ /^The physical processor has (\d+) cores and (\d+) virtual/)
170 0 0 if ($line =~ /^The (\S+) physical processor has (\d+) virtual/)
178 0 0 if ($line =~ /(\S+) \(.* clock (\d+) MHz\)/)
185 0 0 if ($line =~ /Intel\(r\) Xeon\(r\) CPU +(\S+)/)