Condition Coverage

blib/lib/Math/GComplex.pm
Criterion Covered Total %
condition 29 96 30.2


and 3 conditions

line !l l&&!r l&&r condition
375 0 0 0 $x->{'a'} == 0 and $x->{'b'} == 0
506 2 407 0 not ref $t and $t == 0
550 107 1 0 $x->{'a'} == 0 and $x->{'b'} == 0
556 0 0 0 $y->{'a'} == 0 and $y->{'b'} == 0
575 7 8 2 $x->{'a'} == 0 and $x->{'b'} == 0
640 6 0 0 $x->{'a'} == 0 and $x->{'b'} == 0
677 0 0 0 $x->{'a'} != $t1 and $x->{'a'} < 0
680 0 0 0 $x->{'b'} != $t2 and $x->{'b'} < 0
901 0 10 0 not ref $den and $den == 0
1018 0 6 0 not ref $den and $den == 0
1098 0 5 0 not ref $den and $den == 0
1177 0 5 0 not ref $den and $den == 0
1273 0 0 4 not ref $pi and $pi != 0
1420 194 0 0 !$x->{'a'} && !$x->{'b'}

or 2 conditions

line l !l condition
33 0 0 &cmp($_[0], $_[1]) // (return undef)
201 0 0 $self->{'cartesian'} //= [$self->{'a'}, $self->{'b'}]
206 0 0 $self->{'polar'} //= [CORE::sqrt $self->{'a'} * $self->{'a'} + $self->{'b'} * $self->{'b'}, CORE::atan2($self->{'b'}, $self->{'a'})]
216 2907 0 $x // 0
2412 495 $y // 0
231 0 0 $x // 0
0 0 $y // 0
241 0 0 $r // 0
0 0 $theta // 0
0 0 $r // 0
0 0 $theta // 0
254 0 0 $r // 0
0 0 $theta // 0
0 0 $r // 0
0 0 $theta // 0
1359 2 0 $x->{'b'} <=> $y->{'b'} // (return undef)
18 0 $x->{'a'} <=> $y->{'a'} // (return undef)
1377 16 0 $x->cmp($y) // (return undef)
1386 0 0 $x->cmp($y) // (return undef)
1395 0 0 $x->cmp($y) // (return undef)
1404 2 0 $x->cmp($y) // (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
140 29 8 2 exists $trig{$name} or exists $special{$name}
8 0 2 exists $trig{$name} or exists $special{$name} or exists $misc{$name}
168 29 0 8 $trig{$name} // $misc{$name}
0 8 0 ($trig{$name} // $misc{$name}) // $special{$name}