line |
true |
false |
branch |
113
|
1 |
13 |
if ($file and ref $file and ref $file eq 'HASH') |
121
|
16 |
0 |
if (-e $file and -f $file) |
124
|
16 |
0 |
if (open CPUINFO, $file) |
148
|
208 |
1312 |
if ($value and $value =~ /^(no|not available|yes)$/) |
150
|
175 |
33 |
$value eq 'yes' ? : |
153
|
58 |
1462 |
if ($attribute eq 'flags') { } |
171
|
54 |
16 |
if (@{$$self{'_cpuinfo'};}) |
173
|
4 |
50 |
if (keys %{$$self{'_cpuinfo'}[-1]{'_data'};} != keys %{$cpuinfo;}) |
182
|
66 |
4 |
if ($ok_to_add) |
230
|
1 |
0 |
if (defined $cpu) { } |
232
|
0 |
1 |
if $cpu < 0 |
233
|
0 |
1 |
if $cpu > $#{$$self{'_cpuinfo'};} |
255
|
10 |
3 |
if (wantarray) { } |
270
|
0 |
2 |
if $AUTOLOAD =~ /DESTROY/ |
433
|
0 |
85 |
if $AUTOLOAD =~ /DESTROY/ |
437
|
83 |
2 |
if (exists $$self{'_data'}{$method}) { } |
452
|
1 |
1 |
if ($$self{'_args'}{'NoFatal'}) { } |