| line |
true |
false |
branch |
|
66
|
0 |
0 |
if ($type eq 'Xen' and not $inventory->getBios('SMANUFACTURER')) |
|
75
|
0 |
0 |
if ($type eq 'Virtuozzo') |
|
92
|
0 |
0 |
if ($bios->{'SMANUFACTURER'}) |
|
93
|
0 |
0 |
if $bios->{'SMANUFACTURER'} =~ /Microsoft/ |
|
94
|
0 |
0 |
if $bios->{'SMANUFACTURER'} =~ /VMware/ |
|
96
|
0 |
0 |
if ($bios->{'BMANUFACTURER'}) |
|
97
|
0 |
0 |
if $bios->{'BMANUFACTURER'} =~ /(QEMU|Bochs)/ |
|
98
|
0 |
0 |
if $bios->{'BMANUFACTURER'} =~ /(VirtualBox|innotek)/ |
|
99
|
0 |
0 |
if $bios->{'BMANUFACTURER'} =~ /^Xen/ |
|
101
|
0 |
0 |
if ($bios->{'SMODEL'}) |
|
102
|
0 |
0 |
if $bios->{'SMODEL'} =~ /VMware/ |
|
103
|
0 |
0 |
if $bios->{'SMODEL'} =~ /Virtual Machine/ |
|
105
|
0 |
0 |
if ($bios->{'BVERSION'}) |
|
106
|
0 |
0 |
if $bios->{'BVERSION'} =~ /VirtualBox/ |
|
109
|
0 |
0 |
if (-f '/.dockerinit') |
|
114
|
0 |
0 |
if (canRun('/usr/sbin/zoneadm')) |
|
116
|
0 |
0 |
if $zone ne 'global' |
|
120
|
0 |
0 |
if (-d '/proc/xen' or getFirstMatch('file', '/sys/devices/system/clocksource/clocksource0/available_clocksource', 'pattern', qr/xen/)) |
|
127
|
0 |
0 |
if (getFirstMatch('file', '/proc/xen/capabilities', 'pattern', qr/control_d/)) { } |
|
141
|
0 |
0 |
if (canRun('/sbin/sysctl')) |
|
148
|
0 |
0 |
if $line and $line == 1 |
|
153
|
0 |
0 |
if (-f '/proc/modules') |
|
160
|
0 |
0 |
unless $line =~ /$pattern/ |
|
167
|
0 |
0 |
if $result |
|
172
|
0 |
0 |
if (-r '/var/log/dmesg') { } |
|
|
0 |
0 |
elsif (-x '/bin/dmesg') { } |
|
|
0 |
0 |
elsif (-x '/sbin/dmesg') { } |
|
182
|
0 |
0 |
if ($handle) |
|
185
|
0 |
0 |
if $result |
|
190
|
0 |
0 |
if (-f '/proc/scsi/scsi') |
|
198
|
0 |
0 |
if $result |
|
200
|
0 |
0 |
if (getFirstMatch('file', '/proc/1/environ', 'pattern', qr/container=lxc/)) |
|
208
|
0 |
0 |
if (-f '/proc/self/status') |
|
215
|
0 |
0 |
if $key eq 'envID' and $value > 0 |
|
218
|
0 |
0 |
if $result |
|
234
|
0 |
0 |
if $line =~ /$vmware_pattern/ |
|
235
|
0 |
0 |
if $line =~ /$qemu_pattern/ |
|
236
|
0 |
0 |
if $line =~ /$virtual_machine_pattern/ |
|
237
|
0 |
0 |
if $line =~ /$virtualbox_pattern/ |
|
238
|
0 |
0 |
if $line =~ /$xen_pattern/ |