line |
true |
false |
branch |
53
|
0 |
0 |
if ($function =~ /\b(PERIOD|period|PER|per|FREQUENCY|frequency|FREQ|freq|TEMPERATURE|temperature|TEMP|temp|DIODE|diode|DIOD|diod","CURRENT|current|CURR|curr|CURRENT:AC|current:ac|CURR:AC|curr:ac","CURRENT:DC|current:dc|CURR:DC|curr:dc|VOLTAGE|voltage|VOLT|volt|VOLTAGE:AC|voltage:ac|VOLT:AC|volt:ac|VOLTAGE:DC|voltage:dc|VOLT:DC|volt:dc|RESISTANCE|resisitance|RES|res|FRESISTANCE|fresistance|FRES|fres)\b/u) { }
|
79
|
0 |
0 |
unless (defined $function)
|
84
|
0 |
0 |
if ($function =~ /\b(CURRENT|current|CURR|curr|CURRENT:AC|current:ac|CURR:AC|curr:ac","CURRENT:DC|current:dc|CURR:DC|curr:dc)\b/u) { }
|
|
0 |
0 |
elsif ($function =~ /\b(VOLTAGE:AC|voltage:ac|VOLT:AC|volt:ac)\b/u) { }
|
|
0 |
0 |
elsif ($function =~ /\b(VOLTAGE|voltage|VOLT|volt|VOLTAGE:DC|voltage:dc|VOLT:DC|volt:dc)\b/u) { }
|
|
0 |
0 |
elsif ($function =~ /\b(RESISTANCE|resisitance|RES|res|FRESISTANCE|fresistance|FRES|fres)\b/u) { }
|
|
0 |
0 |
elsif ($function =~ /\b(DIODE|DIOD|diode|diod)\b/u) { }
|
87
|
0 |
0 |
if ($range =~ /\b(AUTO|auto|MIN|min|MAX|max|DEF|def)\b/u) { }
|
|
0 |
0 |
elsif ($range >= 0 and $range <= 3.03) { }
|
102
|
0 |
0 |
if ($range =~ /\b(AUTO|auto|MIN|min|MAX|max|DEF|def)\b/u) { }
|
|
0 |
0 |
elsif ($range >= 0 and $range <= 757.5) { }
|
118
|
0 |
0 |
if ($range =~ /\b(AUTO|auto|MIN|min|MAX|max|DEF|def)\b/u) { }
|
|
0 |
0 |
elsif ($range >= 0 and $range <= 1010) { }
|
134
|
0 |
0 |
if ($range =~ /\b(AUTO|auto|MIN|min|MAX|max|DEF|def)\b/u) { }
|
|
0 |
0 |
elsif ($range >= 0 and $range <= 101000000) { }
|
149
|
0 |
0 |
if ($range < 0 or $range > "0.001")
|
162
|
0 |
0 |
if ($range =~ /\b(AUTO|auto)\b/u) { }
|
|
0 |
0 |
elsif ($range =~ /\b(MIN|min|MAX|max|DEF|def)\b/u) { }
|
179
|
0 |
0 |
unless (defined $function)
|
182
|
0 |
0 |
unless ($function =~ /\b(PERIOD|period|PER|per|FREQUENCY|frequency|FREQ|freq|TEMPERATURE|temperature|TEMP|temp|DIODE|diode|DIOD|diod","CURRENT|current|CURR|curr|CURRENT:AC|current:ac|CURR:AC|curr:ac","CURRENT:DC|current:dc|CURR:DC|curr:dc|VOLTAGE|voltage|VOLT|volt|VOLTAGE:AC|voltage:ac|VOLT:AC|volt:ac|VOLTAGE:DC|voltage:dc|VOLT:DC|volt:dc|RESISTANCE|resisitance|RES|res|FRESISTANCE|fresistance|FRES|fres)\b/u)
|
200
|
0 |
0 |
unless (defined $function)
|
204
|
0 |
0 |
if ($nplc < "0.01" and $nplc > 10 and not $nplc =~ /\b(MAX|max|MIN|min|DEF|def)\b/u)
|
211
|
0 |
0 |
if ($function =~ /\b(CURRENT|CURR|current|curr|VOLTAGE|VOLT|voltage|volt|RESISTANCE|RES|resistance|res)\b/u) { }
|
214
|
0 |
0 |
if ($nplc =~ /\b(MAX|max|MIN|min|DEF|def)\b/u) { }
|
|
0 |
0 |
elsif ($nplc =~ /\b\d+(e\d+|E\d+|exp\d+|EXP\d+)?\b/u) { }
|
239
|
0 |
0 |
unless (defined $function)
|
242
|
0 |
0 |
unless ($function =~ /\b(PERIOD|period|PER|per|FREQUENCY|frequency|FREQ|freq|TEMPERATURE|temperature|TEMP|temp|DIODE|diode|DIOD|diod","CURRENT|current|CURR|curr|CURRENT:AC|current:ac|CURR:AC|curr:ac","CURRENT:DC|current:dc|CURR:DC|curr:dc|VOLTAGE|voltage|VOLT|volt|VOLTAGE:AC|voltage:ac|VOLT:AC|volt:ac|VOLTAGE:DC|voltage:dc|VOLT:DC|volt:dc|RESISTANCE|resisitance|RES|res|FRESISTANCE|fresistance|FRES|fres)\b/u)
|
260
|
0 |
0 |
unless (defined $function)
|
264
|
0 |
0 |
unless (defined $mode)
|
268
|
0 |
0 |
if ($mode =~ /\b(REPEAT|repeat|MOVING|moving)\b/u) { }
|
269
|
0 |
0 |
if ($count >= 0.5 and $count <= 100.5) { }
|
|
0 |
0 |
elsif ($count =~ /\b(OFF|off)\b/u or $count == 0) { }
|
275
|
0 |
0 |
if ($count =~ /\b(MIN|min|MAX|max|DEF|def)\b/u or $count =~ /\b\d+(e\d+|E\d+|exp\d+|EXP\d+)?\b/u)
|
318
|
0 |
0 |
unless (defined $function)
|
337
|
0 |
0 |
if (not defined $function) { }
|
|
0 |
0 |
elsif ($function =~ /\b(PERIOD|period|PER|per|FREQUENCY|frequency|FREQ|freq|TEMPERATURE|temperature|TEMP|temp|DIODE|diode|DIOD|diod|CURRENT|current|CURR|curr|CURRENT:AC|current:ac|CURR:AC|curr:ac|CURRENT:DC|current:dc|CURR:DC|curr:dc|VOLTAGE|voltage|VOLT|volt|VOLTAGE:AC|voltage:ac|VOLT:AC|volt:ac|VOLTAGE:DC|voltage:dc|VOLT:DC|volt:dc|RESISTANCE|resisitance|RES|res|FRESISTANCE|fresistance|FRES|fres)\b/u) { }
|
365
|
0 |
0 |
unless (defined $trigger)
|
368
|
0 |
0 |
unless (defined $range)
|
371
|
0 |
0 |
unless (defined $time)
|
385
|
0 |
0 |
if ($nplc < "0.01")
|
419
|
0 |
0 |
unless (defined $timeout)
|
427
|
0 |
0 |
if ($status != $Lab::VISA::VI_SUCCESS)
|
434
|
0 |
0 |
if ($self->query(':STATUS:OPERATION:CONDITION?') >= 1024) { }
|
444
|
0 |
0 |
if ($status != $Lab::VISA::VI_SUCCESS)
|
455
|
0 |
0 |
unless (defined $timeout)
|
463
|
0 |
0 |
if ($status != $Lab::VISA::VI_SUCCESS)
|
469
|
0 |
0 |
if ($self->query(':STATUS:OPERATION:CONDITION?') >= 1024) { }
|
480
|
0 |
0 |
if ($status != $Lab::VISA::VI_SUCCESS)
|
505
|
0 |
0 |
if ($nop >= 2 and $nop <= 1024) { }
|
540
|
0 |
0 |
if ($print eq "PRINT")
|
553
|
0 |
0 |
unless (defined $source)
|
570
|
0 |
0 |
unless (defined $triggersource)
|
577
|
0 |
0 |
if ($triggersource =~ /\b(IMM|imm|EXT|ext|TIM|tim|MAN|man|BUS|bus)\b/u) { }
|
593
|
0 |
0 |
unless (defined $samplecount)
|
600
|
0 |
0 |
if ($samplecount >= 1 and $samplecount <= 1024) { }
|
617
|
0 |
0 |
unless (defined $triggercount)
|
624
|
0 |
0 |
if ($triggercount >= 1 and $triggercount <= 1024 or $triggercount =~ /\b(MIN|min|MAX|max|DEF|def)\b/u) { }
|
640
|
0 |
0 |
unless (defined $triggerdelay)
|
647
|
0 |
0 |
if ($triggerdelay >= 0 and $triggerdelay <= 999999.999 or $triggerdelay =~ /\b(MIN|min|MAX|max|DEF|def)\b/u) { }
|
663
|
0 |
0 |
unless (defined $timer)
|
670
|
0 |
0 |
if ($timer >= 0.001 and $timer <= 999999.999 or $timer =~ /\b(MIN|min|MAX|max|DEF|def)\b/u) { }
|
687
|
0 |
0 |
if (not defined $data) { }
|
|
0 |
0 |
elsif ($data =~ /\b(ON|on)\b/u) { }
|
|
0 |
0 |
elsif ($data =~ /\b(OFF|off)\b/u) { }
|
|
0 |
0 |
elsif ($data =~ /\b(CLEAR|clear)\b/u) { }
|
720
|
0 |
0 |
if ($text) { }
|