Condition Coverage

blib/lib/FusionInventory/Agent/SNMP/Mock.pm
Criterion Covered Total %
condition 10 26 38.4


and 3 conditions

line !l l&&!r l&&r condition
67 0 0 0 -r $file and -f $file
122 0 0 0 not $line =~ /^$/ || $line =~ /= ""$/ and $last_oid
123 0 0 0 $values->{$last_oid}[0] eq 'STRING' and not $values->{$last_oid}[1] =~ /"$/
173 4 0 5 not $line =~ /^$/ || $line =~ /= ""$/ and $last_oid
174 2 1 2 $values->{$last_oid}[0] eq 'STRING' and not $values->{$last_oid}[1] =~ /"$/
181 2 1 0 $values->{$last_oid}[0] eq 'Hex-STRING' and $line =~ /^([A-F0-9]{2})( [A-F0-9]{2})?/

or 2 conditions

line l !l condition
237 0 0 $2 || ''

or 3 conditions

line l !l&&r !l&&!r condition
122 0 0 0 $line =~ /^$/ || $line =~ /= ""$/
173 2 2 5 $line =~ /^$/ || $line =~ /= ""$/