Condition Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Generic/Dmidecode/Battery.pm
Criterion Covered Total %
condition 6 12 50.0


and 3 conditions

line !l l&&!r l&&r condition
53 0 0 3 $info->{'Design Capacity'} and $info->{'Design Capacity'} =~ /(\d+) \s m[WA]h$/x
58 0 0 3 $info->{'Design Voltage'} and $info->{'Design Voltage'} =~ /(\d+) \s mV$/x

or 3 conditions

line l !l&&r !l&&!r condition
44 1 0 2 $info->{'Serial Number'} || $info->{'SBDS Serial Number'}
2 0 1 $info->{'Chemistry'} || $info->{'SBDS Chemistry'}