Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Win32/Bios.pm
Criterion Covered Total %
branch 2 16 12.5


line true false branch
21 1 1 if ($string and $string =~ /^(\d{4})(\d{2})(\d{2})/)
73 0 0 unless $bios->{'SSN'}
86 0 0 unless $bios->{'SSN'}
88 0 0 unless $bios->{'SMANUFACTURER'}
93 0 0 if $bios->{$_}
99 0 0 if ($bios->{'VERSION'} and $bios->{'VERSION'} eq 'VirtualBox' or $bios->{'MMODEL'} and $bios->{'MMODEL'} eq 'VirtualBox')
109 0 0 if ($bios->{'BIOSSERIAL'} and $bios->{'BIOSSERIAL'} =~ /VMware/i or $bios->{'SMODEL'} and $bios->{'SMODEL'} eq 'VirtualBox')
119 0 0 if ($bios->{'SMANUFACTURER'} and $bios->{'SMANUFACTURER'} eq 'Xen' or $bios->{'BMANUFACTURER'} and $bios->{'BMANUFACTURER'} eq 'Xen')