Branch Coverage

blib/lib/Sys/Detect/Virtualization/linux.pm
Criterion Covered Total %
branch 9 16 56.2


line true false branch
87 0 4 if ($@)
93 0 4 unless ($dmi_bin)
100 1 3 if ($rc != 0)
107 0 0 if $$self{'verbose'}
120 1 2 if ($vendor and $vendor eq 'QEMU')
131 1 1 if ($mfgr and $mfgr =~ /VMWare/i)
139 1 0 if ($mfgr and $product and $mfgr =~ /microsoft/i and $product =~ /virtual machine/i)
145 0 0 if ($product =~ /virtualbox/i)