Condition Coverage

blib/lib/Lab/Instrument/Agilent34420A.pm
Criterion Covered Total %
condition 0 93 0.0


and 3 conditions

line !l l&&!r l&&r condition
198 0 0 0 $channel == 1 and abs $range > 100
203 0 0 0 $channel == 2 and abs $range > 10
271 0 0 0 $channel != 1 and $channel != 2
390 0 0 0 $nplc >= "0.02" and $nplc <= 200
491 0 0 0 $resolution >= "0.0001" * $range and $resolution <= "2.2e-07" * $range
626 0 0 0 defined $resolution and defined $nplc
673 0 0 0 abs $range > 100 and not $range =~ /^(MIN|min|MAX|max|DEF|def|AUTO|auto)$/u
683 0 0 0 abs $range > 1000000 and not $range =~ /^(MIN|min|MAX|max|DEF|def|AUTO|auto)$/u
696 0 0 0 $int_time < "2.2e-07" * $range and not $int_time =~ /^(MIN|min|MAX|max|DEF|def)$/u
704 0 0 0 $int_time < 0.02 || $int_time > 200 and not $int_time =~ /^(MIN|min|MAX|max|DEF|def)$/u
713 0 0 0 $int_time < 0.02 || $int_time > 200 and not $int_time =~ /^(MIN|min|MAX|max|DEF|def)$/u
893 0 0 0 $delay < 0 || $delay > 3600 and $delay =~ /^(MIN|min|MAX|max|DEF|def)$/u

or 3 conditions

line l !l&&r !l&&!r condition
55 0 0 0 ref $proto || $proto
122 0 0 0 $function =~ /^(voltage:dc|voltage|volt:dc|volt|voltage:dc:ratio|voltage:ratio|volt:dc:ratio|volt:ratio|voltage:dc:diff|voltage:diff|volt:dc:diff|volt:diff)$/u or $function =~ /^(resistance|fresistance|res|fres)$/u
173 0 0 0 $self->{'channel'} || $self->get_channel({'read_mode', 'cache'})
210 0 0 0 $range < 0 or $range > 1000000
255 0 0 0 $self->{'channel'} || $self->get_channel({'read_mode', 'cache'})
262 0 0 0 $function =~ /^(voltage:dc|voltage|volt:dc|volt|sense1:voltage:dc|sense1:voltage|sense1:volt:dc|sense1:volt|sense2:voltage:dc|sense2:voltage|sense2:volt:dc|sense2:volt|voltage:dc:ratio|voltage:ratio|volt:dc:ratio|volt:ratio|voltage:dc:diff|voltage:diff|volt:dc:diff|volt:diff)$/u or $function =~ /^(resistance|fresistance|res|fres)$/u
298 0 0 0 $self->{'channel'} || $self->get_channel({'read_mode', 'cache'})
334 0 0 0 $self->{'channel'} || $self->get_channel({'read_mode', 'cache'})
387 0 0 0 $function =~ /^(voltage:dc|voltage|volt:dc|volt|sense1:voltage:dc|sense1:voltage|sense1:volt:dc|sense1:volt|sense2:voltage:dc|sense2:voltage|sense2:volt:dc|sense2:volt|voltage:dc:ratio|voltage:ratio|volt:dc:ratio|volt:ratio|voltage:dc:diff|voltage:diff|volt:dc:diff|volt:diff)$/u or $function =~ /^(resistance|fresistance|res|fres)$/u
424 0 0 0 $function =~ /^(voltage:dc|voltage|volt:dc|volt|sense1:voltage:dc|sense1:voltage|sense1:volt:dc|sense1:volt|sense2:voltage:dc|sense2:voltage|sense2:volt:dc|sense2:volt|voltage:dc:ratio|voltage:ratio|volt:dc:ratio|volt:ratio|voltage:dc:diff|voltage:diff|volt:dc:diff|volt:diff)$/u or $function =~ /^(resistance|fresistance|res|fres)$/u
483 0 0 0 $function =~ /^(voltage:dc|voltage|volt:dc|volt|sense1:voltage:dc|sense1:voltage|sense1:volt:dc|sense1:volt|sense2:voltage:dc|sense2:voltage|sense2:volt:dc|sense2:volt|voltage:dc:ratio|voltage:ratio|volt:dc:ratio|volt:ratio|voltage:dc:diff|voltage:diff|volt:dc:diff|volt:diff)$/u or $function =~ /^(resistance|fresistance|res|fres)$/u
528 0 0 0 $function =~ /^(voltage:dc|voltage|volt:dc|volt|sense1:voltage:dc|sense1:voltage|sense1:volt:dc|sense1:volt|sense2:voltage:dc|sense2:voltage|sense2:volt:dc|sense2:volt|voltage:dc:ratio|voltage:ratio|volt:dc:ratio|volt:ratio|voltage:dc:diff|voltage:diff|volt:dc:diff|volt:diff)$/u or $function =~ /^(resistance|fresistance|res|fres)$/u
551 0 0 0 $terminal == 1 or $terminal == 2
641 0 0 0 $self->{'channel'} || $self->get_channel({'read_mode', 'cache'})
704 0 0 0 $int_time < 0.02 || $int_time > 200
713 0 0 0 $int_time < 0.02 || $int_time > 200
874 0 0 0 $count < 0 or $count >= 50000
893 0 0 0 $delay < 0 || $delay > 3600
917 0 0 0 $count < 0 or $count > 1024