Condition Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Win32/Bios.pm
Criterion Covered Total %
condition 2 33 6.0


and 3 conditions

line !l l&&!r l&&r condition
21 0 1 1 $string and $string =~ /^(\d{4})(\d{2})(\d{2})/
99 0 0 0 $bios->{'VERSION'} and $bios->{'VERSION'} eq 'VirtualBox'
0 0 0 $bios->{'MMODEL'} and $bios->{'MMODEL'} eq 'VirtualBox'
109 0 0 0 $bios->{'BIOSSERIAL'} and $bios->{'BIOSSERIAL'} =~ /VMware/i
0 0 0 $bios->{'SMODEL'} and $bios->{'SMODEL'} eq 'VirtualBox'
119 0 0 0 $bios->{'SMANUFACTURER'} and $bios->{'SMANUFACTURER'} eq 'Xen'
0 0 0 $bios->{'BMANUFACTURER'} and $bios->{'BMANUFACTURER'} eq 'Xen'

or 3 conditions

line l !l&&r !l&&!r condition
52 0 0 0 $object->{'SMBIOSBIOSVersion'} || $object->{'BIOSVersion'} || $object->{'Version'}
99 0 0 0 $bios->{'VERSION'} and $bios->{'VERSION'} eq 'VirtualBox' or $bios->{'MMODEL'} and $bios->{'MMODEL'} eq 'VirtualBox'
109 0 0 0 $bios->{'BIOSSERIAL'} and $bios->{'BIOSSERIAL'} =~ /VMware/i or $bios->{'SMODEL'} and $bios->{'SMODEL'} eq 'VirtualBox'
119 0 0 0 $bios->{'SMANUFACTURER'} and $bios->{'SMANUFACTURER'} eq 'Xen' or $bios->{'BMANUFACTURER'} and $bios->{'BMANUFACTURER'} eq 'Xen'