Branch Coverage

blib/lib/Lab/Instrument/Vectormagnet.pm
Criterion Covered Total %
branch 0 96 0.0


line true false branch
25 0 0 if ($args[0] =~ /GPIB|gpib/u) { }
150 0 0 if ($active_x or $active_y or $active_z) { }
168 0 0 if (not defined $seconds) { }
178 0 0 if ($time_1 - $time_0 > $seconds - $min)
179 0 0 if ($seconds - ($time_1 - $time_0) < 0)
201 0 0 if ($tail->{'read_mode'} eq "request")
211 0 0 unless (defined $mode)
215 0 0 if ($mode =~ /^(spherical|SPHERICAL|s|s)$/u) { }
0 0 elsif ($mode =~ /^(cartesian|CARTESIAN|C|c)$/u) { }
0 0 elsif ($mode =~ /^(all|ALL|A|a)$/u) { }
234 0 0 $theta <= 90 && ($phi > -90 && $phi <= 90) ? :
241 0 0 if (wantarray) { }
255 0 0 if (defined $kappa)
258 0 0 if (defined $rho)
261 0 0 if (defined $starting_speed)
275 0 0 unless (defined $interval)
278 0 0 unless (defined $v_phi)
281 0 0 unless (defined $resolution)
284 0 0 unless (defined $phi_start)
287 0 0 unless (defined $phi_stop)
290 0 0 unless (defined $B_R)
332 0 0 if (($x_c, $y_c, $z_c) != ($x[0], $y[0], $z[0]))
354 0 0 $len_x >= $len_y ? :
355 0 0 $len >= $len_z ? :
358 0 0 if ((my $len_x = @X) >= $i)
361 0 0 if ((my $len_y = @Y) >= $i)
364 0 0 if ((my $len_z = @Z) >= $i)
388 0 0 if ($mode =~ /^(cartesian|CARTESIAN|c|C)$/u) { }
0 0 elsif (not defined $mode or $mode =~ /^(spherical|SPHERICAL|s|S)$/u) { }
406 0 0 unless (defined $interval)
410 0 0 if ($x_1 ** 2 + $y_1 ** 2 + $z_1 ** 2 > "1.01")
415 0 0 if ($rate <= 0)
431 0 0 if ($sweep_time == 0) { }
455 0 0 $len_x >= $len_y ? :
456 0 0 $len >= $len_z ? :
459 0 0 if ((my $len_x = @X) >= $i)
462 0 0 if ((my $len_y = @Y) >= $i)
465 0 0 if ((my $len_z = @Z) >= $i)
489 0 0 $rho ? :
503 0 0 if $_[0] >= 1
504 0 0 if $_[0] <= -1
549 0 0 unless (defined $resolution and defined $v and defined $phi_start and defined $phi_stop and defined $R)
594 0 0 $i == $len - 1 ? :
0 0 $i == $len - 1 ? :
600 0 0 $i == $len - 1 ? :
0 0 $i == $len - 1 ? :
606 0 0 $i == $len - 1 ? :
0 0 $i == $len - 1 ? :