Condition Coverage

blib/lib/Lab/Instrument/Source.pm
Criterion Covered Total %
condition 9 27 33.3


and 3 conditions

line !l l&&!r l&&r condition
17 0 0 0 $type =~ /^Lab::Instrument/ and $_[0]{'IamaSource'}
162 0 1222 0 defined $$self{'config'}{'gp_max_volt'} and $voltage > $$self{'config'}{'gp_max_volt'}
165 0 1222 0 defined $$self{'config'}{'gp_min_volt'} and $voltage < $$self{'config'}{'gp_min_volt'}
173 0 1214 1 defined $voltperstep and abs $voltage - $last_v < $voltperstep
228 0 0 0 defined $$self{'config'}{'gp_max_volt'} and $voltage > $$self{'config'}{'gp_max_volt'}
231 0 0 0 defined $$self{'config'}{'gp_min_volt'} and $voltage < $$self{'config'}{'gp_min_volt'}
281 7 1198 7 defined $last and abs $last - $this < $$self{'config'}{'gp_equal_level'}

or 3 conditions

line l !l&&r !l&&!r condition
11 0 2 0 ref $proto || $proto
74 55 0 0 defined $$self{'config'}{$conf_name} || defined $$config{$conf_name}