Branch Coverage

blib/lib/Math/GComplex.pm
Criterion Covered Total %
branch 155 270 57.4


line true false branch
28 0 0 $_[2] ? :
29 0 0 $_[2] ? :
30 0 16 $_[2] ? :
31 2 0 $_[2] ? :
33 0 0 $_[2] ? :
35 36 204 if $_[2]
36 19 206 if $_[2]
38 21 84 $_[2] ? :
39 0 0 $_[2] ? :
41 0 4 $_[2] ? :
46 0 0 $_[2] ? :
140 1 40 if ($name eq ':overload') { }
1 39 elsif (exists $const{$name}) { }
37 2 elsif (exists $trig{$name} or exists $special{$name} or exists $misc{$name}) { }
1 1 elsif ($name eq ':trig') { }
0 1 elsif ($name eq ':misc') { }
1 0 elsif ($name eq ':special') { }
0 0 elsif ($name eq ':all') { }
276 0 116 if ref $x ne 'Math::GComplex'
277 45 71 if ref $y ne 'Math::GComplex'
289 19 206 if ref $x ne 'Math::GComplex'
290 136 89 if ref $y ne 'Math::GComplex'
302 0 271 if ref $x ne 'Math::GComplex'
303 52 219 if ref $y ne 'Math::GComplex'
315 36 321 if ref $x ne 'Math::GComplex'
316 61 296 if ref $y ne 'Math::GComplex'
320 0 357 if ($d == 0)
334 0 0 if ref $x ne 'Math::GComplex'
335 0 0 if ref $y ne 'Math::GComplex'
347 0 37 if ref $x ne 'Math::GComplex'
361 0 184 if ref $x ne 'Math::GComplex'
373 0 0 if ref $x ne 'Math::GComplex'
375 0 0 if ($x->{'a'} == 0 and $x->{'b'} == 0)
389 0 35 if ref $x ne 'Math::GComplex'
401 0 0 if ref $x ne 'Math::GComplex'
413 0 0 if ref $x ne 'Math::GComplex'
425 0 1 if ref $x ne 'Math::GComplex'
426 0 1 if ref $y ne 'Math::GComplex'
438 0 1 if ref $x ne 'Math::GComplex'
439 0 1 if ref $y ne 'Math::GComplex'
451 0 1 if ref $x ne 'Math::GComplex'
452 0 1 if ref $y ne 'Math::GComplex'
465 0 1 if ref $x ne 'Math::GComplex'
466 0 1 if ref $y ne 'Math::GComplex'
468 1 0 if ($y->{'b'} == 0)
484 0 1 if ref $x ne 'Math::GComplex'
485 0 1 if ref $y ne 'Math::GComplex'
487 1 0 if ($y->{'b'} == 0)
502 0 409 if ref $x ne 'Math::GComplex'
506 0 409 if (not ref $t and $t == 0)
520 0 3 if ref $x ne 'Math::GComplex'
521 0 3 if ref $n ne 'Math::GComplex'
533 0 486 if ref $x ne 'Math::GComplex'
547 21 87 if ref $x ne 'Math::GComplex'
548 40 68 if ref $y ne 'Math::GComplex'
550 0 108 if ($x->{'a'} == 0 and $x->{'b'} == 0)
552 0 0 if ($y->{'a'} < 0)
556 0 0 if ($y->{'a'} == 0 and $y->{'b'} == 0)
569 0 17 if ref $x ne 'Math::GComplex'
575 2 15 if ($x->{'a'} == 0 and $x->{'b'} == 0)
577 0 2 if ($neg)
581 1 1 if ($y == 0)
592 26 16 if $y & 1
593 15 27 unless $y >>= 1
598 2 13 $neg ? :
608 0 3 if ref $x ne 'Math::GComplex'
609 3 0 if ref $y ne 'Math::GComplex'
621 0 133 if ref $x ne 'Math::GComplex'
638 0 6 if ref $x ne 'Math::GComplex'
640 0 6 if ($x->{'a'} == 0 and $x->{'b'} == 0)
659 0 16 if ref $x ne 'Math::GComplex'
674 0 0 if ref $x ne 'Math::GComplex'
677 0 0 if $x->{'a'} != $t1 and $x->{'a'} < 0
680 0 0 if $x->{'b'} != $t2 and $x->{'b'} < 0
692 0 0 if ref $x ne 'Math::GComplex'
713 2 9 if ref $x ne 'Math::GComplex'
736 4 9 if ref $x ne 'Math::GComplex'
757 1 11 if ref $x ne 'Math::GComplex'
776 1 11 if ref $x ne 'Math::GComplex'
797 2 18 if ref $x ne 'Math::GComplex'
818 3 18 if ref $x ne 'Math::GComplex'
839 0 20 if ref $x ne 'Math::GComplex'
866 0 10 if ref $x ne 'Math::GComplex'
890 2 8 if ref $x ne 'Math::GComplex'
901 0 10 if (not ref $den and $den == 0) { }
923 4 9 if ref $x ne 'Math::GComplex'
940 1 15 if ref $x ne 'Math::GComplex'
963 5 4 if ref $x ne 'Math::GComplex'
964 5 4 if ref $y ne 'Math::GComplex'
982 1 13 if ref $x ne 'Math::GComplex'
1007 1 5 if ref $x ne 'Math::GComplex'
1018 0 6 if (not ref $den and $den == 0) { }
1040 4 3 if ref $x ne 'Math::GComplex'
1057 1 7 if ref $x ne 'Math::GComplex'
1069 1 6 if ref $x ne 'Math::GComplex'
1085 1 4 if ref $x ne 'Math::GComplex'
1098 0 5 if (not ref $den and $den == 0) { }
1116 4 3 if ref $x ne 'Math::GComplex'
1136 0 4 if ref $x ne 'Math::GComplex'
1148 1 3 if ref $x ne 'Math::GComplex'
1164 1 4 if ref $x ne 'Math::GComplex'
1177 0 5 if (not ref $den and $den == 0) { }
1197 4 3 if ref $x ne 'Math::GComplex'
1217 0 4 if ref $x ne 'Math::GComplex'
1229 2 3 if ref $x ne 'Math::GComplex'
1241 5 2 if ref $x ne 'Math::GComplex'
1246 7 0 unless (ref $pi)
1262 3 4 if ref $x ne 'Math::GComplex'
1267 3 4 if ($t == 0)
1273 4 0 if (not ref $pi and $pi != 0)
1291 0 14 if ref $x ne 'Math::GComplex'
1303 0 14 if ref $x ne 'Math::GComplex'
1315 0 1 if ref $x ne 'Math::GComplex'
1327 0 5 if ref $x ne 'Math::GComplex'
1328 5 0 if ref $y ne 'Math::GComplex'
1331 4 1 if $x->{'a'} == $y->{'a'}
1341 0 0 if ref $x ne 'Math::GComplex'
1342 0 0 if ref $y ne 'Math::GComplex'
1345 0 0 unless $x->{'a'} != $y->{'a'}
1355 0 18 if ref $x ne 'Math::GComplex'
1356 0 18 if ref $y ne 'Math::GComplex'
1359 2 16 unless $x->{'a'} <=> $y->{'a'} // (return undef)
1365 0 0 if ref $x ne 'Math::GComplex'
1366 0 0 if ref $y ne 'Math::GComplex'
1374 0 16 if ref $x ne 'Math::GComplex'
1375 16 0 if ref $y ne 'Math::GComplex'
1383 0 0 if ref $x ne 'Math::GComplex'
1384 0 0 if ref $y ne 'Math::GComplex'
1392 0 0 if ref $x ne 'Math::GComplex'
1393 0 0 if ref $y ne 'Math::GComplex'
1401 0 2 if ref $x ne 'Math::GComplex'
1402 2 0 if ref $y ne 'Math::GComplex'
1410 0 54 if ref $x ne 'Math::GComplex'
1418 0 194 if ref $x ne 'Math::GComplex'
1426 0 13 if ref $x ne 'Math::GComplex'