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->{'h'}{'CONTENT'}{'BIOS'}{'SMANUFACTURER'}
151 0 0 0 $line and $line == 1
218 0 0 0 $key eq 'envID' and $value > 0

or 2 conditions

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

or 3 conditions

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