Branch Coverage

blib/lib/Lab/Instrument/YokogawaGS200.pm
Criterion Covered Total %
branch 2 48 4.1


line true false branch
69 0 0 if ($function ne "VOLT")
83 0 0 if ($function ne "VOLT")
88 0 0 if (abs $voltage > 32)
103 0 0 if ($function ne "CURR")
108 0 0 if (abs $current > "0.2")
123 0 0 if ($self->get_function ne "CURR")
140 11 0 if (abs $value <= $srcrange) { }
251 0 0 if ($sweep_time < $self->device_settings->{'min_sweep_time'}) { }
0 0 elsif ($sweep_time > $self->device_settings->{'max_sweep_time'}) { }
263 0 0 if ($interval_time < $self->device_settings->{'min_sweep_time'}) { }
0 0 elsif ($interval_time > $self->device_settings->{'max_sweep_time'}) { }
292 0 0 if ($flag <= 1.1 and $flag >= 0.9) { }
0 0 elsif ($flag <= 0) { }
304 0 0 if ($self->active($tail) == 0)
327 0 0 if (abs $current - $target > $eql)
356 0 0 if (!$function eq "VOLT")
369 0 0 if ($self->get_status('EES', $tail) == 1) { }
396 0 6 if defined $request
406 0 0 if (!$self->get_function eq "CURR")
443 0 0 if (scpi_match($func, 'current|voltage')) { }
473 0 0 if ($value =~ /(on|1)/iu) { }
0 0 elsif ($value =~ /(off|0)/iu) { }
500 0 0 if ($value > 30 or $value < 1)
517 0 0 if ($value > "0.2" or $value < "0.001")