blib/lib/Math/GComplex.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 46 | 110 | 41.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
390 | 0 | 0 | 0 | $x->{'a'} == 0 and $x->{'b'} == 0 |
521 | 2 | 407 | 0 | not ref $t and $t == 0 |
565 | 107 | 1 | 0 | $x->{'a'} == 0 and $x->{'b'} == 0 |
571 | 0 | 0 | 0 | $y->{'a'} == 0 and $y->{'b'} == 0 |
594 | 7 | 8 | 2 | $x->{'a'} == 0 and $x->{'b'} == 0 |
636 | 35 | 3 | 8 | $k->{'a'} == 0 and $k->{'b'} == 0 |
671 | 26 | 3 | 6 | $c->{'a'} == 0 and $c->{'b'} == 0 |
694 | 0 | 0 | 6 | $t->{'a'} == 1 and $t->{'b'} == 0 |
716 | 11 | 2 | 0 | $x->{'a'} == 0 and $x->{'b'} == 0 |
782 | 6 | 0 | 0 | $x->{'a'} == 0 and $x->{'b'} == 0 |
834 | 10 | 83 | 46 | $x->{'a'} != $t1 and $x->{'a'} < 0 |
837 | 44 | 87 | 8 | $x->{'b'} != $t2 and $x->{'b'} < 0 |
1058 | 0 | 10 | 0 | not ref $den and $den == 0 |
1175 | 0 | 6 | 0 | not ref $den and $den == 0 |
1255 | 0 | 5 | 0 | not ref $den and $den == 0 |
1334 | 0 | 5 | 0 | not ref $den and $den == 0 |
1430 | 0 | 0 | 4 | not ref $pi and $pi != 0 |
1577 | 205 | 2 | 0 | !$x->{'a'} && !$x->{'b'} |
line | l | !l | condition |
---|---|---|---|
33 | 0 | 0 | &cmp($_[0], $_[1]) // (return undef) |
209 | 0 | 0 | $self->{'cartesian'} //= [$self->{'a'}, $self->{'b'}] |
214 | 0 | 0 | $self->{'polar'} //= [CORE::sqrt $self->{'a'} * $self->{'a'} + $self->{'b'} * $self->{'b'}, CORE::atan2($self->{'b'}, $self->{'a'})] |
233 | 4070 | 0 | $x // 0 |
3562 | 508 | $y // 0 | |
248 | 0 | 0 | $x // 0 |
0 | 0 | $y // 0 | |
258 | 0 | 0 | $r // 0 |
0 | 0 | $theta // 0 | |
0 | 0 | $r // 0 | |
0 | 0 | $theta // 0 | |
271 | 0 | 0 | $r // 0 |
0 | 0 | $theta // 0 | |
0 | 0 | $r // 0 | |
0 | 0 | $theta // 0 | |
730 | 13 | 0 | $x // (return undef) |
1516 | 2 | 0 | $x->{'b'} <=> $y->{'b'} // (return undef) |
31 | 0 | $x->{'a'} <=> $y->{'a'} // (return undef) | |
1534 | 29 | 0 | $x->cmp($y) // (return undef) |
1543 | 0 | 0 | $x->cmp($y) // (return undef) |
1552 | 0 | 0 | $x->cmp($y) // (return undef) |
1561 | 2 | 0 | $x->cmp($y) // (return undef) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
148 | 29 | 13 | 2 | exists $trig{$name} or exists $special{$name} |
13 | 0 | 2 | exists $trig{$name} or exists $special{$name} or exists $misc{$name} | |
176 | 29 | 0 | 13 | $trig{$name} // $misc{$name} |
0 | 13 | 0 | ($trig{$name} // $misc{$name}) // $special{$name} |