Condition Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Vmsystem.pm
Criterion Covered Total %
condition 0 16 0.0


and 3 conditions

line !l l&&!r l&&r condition
66 0 0 0 $type eq 'Xen' and not $inventory->getBios('SMANUFACTURER')
148 0 0 0 $line and $line == 1
215 0 0 0 $key eq 'envID' and $value > 0

or 2 conditions

line l !l condition
76 0 0 $inventory->getHardware('UUID') || ''
77 0 0 getFirstMatch('file', '/proc/self/status', 'pattern', qr/^envID:\s*(\d+)/) || ''

or 3 conditions

line l !l&&r !l&&!r condition
120 0 0 0 -d '/proc/xen' or getFirstMatch('file', '/sys/devices/system/clocksource/clocksource0/available_clocksource', 'pattern', qr/xen/)