Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Qemu.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
12 0 0 if canRun('virsh')
29 0 0 if ($option =~ /^(?:[fhsv]d[a-d]|cdrom) (\S+)/) { }
0 0 elsif ($option =~ /^name (\S+)/) { }
0 0 elsif ($option =~ /^m (\S+)/) { }
0 0 elsif ($option =~ /^uuid (\S+)/) { }
30 0 0 unless $$values{'name'}
39 0 0 if ($option =~ /smbios/)
40 0 0 if ($option =~ /smbios.*uuid=([a-zA-Z0-9-]+)/)
43 0 0 if ($option =~ /smbios.*serial=([a-zA-Z0-9-]+)/)
49 0 0 if ($$values{'mem'} == 0)
65 0 0 if $$process{'CMD'} =~ /^\[/
66 0 0 unless $$process{'CMD'} =~ /(qemu|kvm|qemu-kvm|qemu-system\S+) .*\S/x
69 0 0 unless $values