line |
true |
false |
branch |
99
|
7 |
5740 |
unless (ref $that and eval {
do {
$that->isa('Math::Polynomial')
}
}) |
102
|
2 |
5745 |
if ($reversed) |
116
|
1 |
293 |
if $reversed |
125
|
2 |
1088 |
unless eval {
do {
BEGIN {${^WARNING_BITS} = "\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x0f"}
$arg == abs int $arg
}
} |
139
|
10194 |
245 |
if ($class) { } |
143
|
243 |
2 |
@coeff ? : |
164
|
2 |
272 |
if defined $max_degree and $degree > $max_degree |
166
|
261 |
11 |
if (ref $this) { } |
167
|
253 |
8 |
unless (defined $coeff) |
173
|
4 |
7 |
unless (defined $coeff) |
183
|
2 |
1 |
@roots ? : |
|
2 |
3 |
ref $this ? : |
194
|
35 |
25 |
if (ref $this) { } |
195
|
4 |
31 |
if ($have_arg) { } |
203
|
6 |
19 |
if ($have_arg) { } |
216
|
3 |
89 |
if (not ref $xvalues && ref $yvalues or @{$xvalues;} != @{$yvalues;}) |
221
|
2 |
87 |
unless @{$xvalues;} |
229
|
1 |
259 |
if $zero == $dx |
240
|
49959 |
8123 |
if (defined $degree) |
242
|
49923 |
36 |
0 <= $degree && $degree < @{$this->[0];} ? : |
246
|
1 |
8122 |
unless wantarray |
252
|
1 |
10 |
unless wantarray |
253
|
4 |
6 |
$this->is_zero ? : |
263
|
1 |
1 |
0 <= $degree ? : |
275
|
249 |
14 |
0 <= $i ? : |
285
|
3 |
1 |
0 <= $i ? : |
295
|
19 |
28 |
$i++ & 1 ? : |
342
|
2 |
6 |
if $this->degree < 0 |
350
|
135 |
45 |
$this_d <= $that_d ? : |
362
|
882 |
410 |
$this_d <= $that_d ? : |
373
|
226 |
3106 |
if $this_d < 0 |
377
|
8008 |
4157 |
$_ <= $this_d ? : |
|
2 |
3104 |
$that_d < 0 ? : |
390
|
12 |
3380 |
unless @den |
392
|
2959 |
421 |
if ($that->is_monic) |
400
|
910 |
6363 |
if (defined $hd) |
414
|
1 |
560 |
unless wantarray |
416
|
555 |
3 |
@{$quot;} ? : |
428
|
2127 |
575 |
@{$quot;} ? : |
434
|
2 |
8 |
unless @den |
436
|
1 |
7 |
if ($that->is_monic) |
443
|
7 |
2 |
if (defined $hd) |
458
|
2 |
6 |
if $this->is_zero |
460
|
16 |
6 |
$i++ ? : |
465
|
1 |
164 |
if $this->is_zero |
467
|
1942 |
164 |
$i++ ? : |
477
|
1 |
118 |
if $this->coeff_zero == $divisor |
489
|
3 |
15 |
$i < 0 ? : |
500
|
1 |
6 |
unless wantarray |
508
|
3 |
9 |
if ($check and $this->coeff_zero != $rem) |
522
|
3 |
4 |
if $this->is_zero or $this->is_monic |
530
|
6 |
12 |
if 0 == $exp |
531
|
3 |
9 |
if 0 > $degree |
532
|
3 |
6 |
if 0 == $degree |
533
|
1 |
5 |
if defined $max_degree and $degree * $exp > $max_degree |
543
|
2 |
2 |
if pop @binary |
553
|
3 |
129 |
if 0 == $that->degree |
554
|
5 |
124 |
if 0 == $exp |
555
|
2 |
122 |
if 0 > $this_d |
556
|
14 |
108 |
if 0 == $this_d |
565
|
329 |
152 |
if pop @binary |
574
|
6 |
93 |
if 0 == $this->degree |
575
|
2 |
91 |
if 0 == $exp |
584
|
166 |
180 |
if (pop @binary) |
596
|
1 |
449 |
if defined $max_degree and $this->degree + $exp > $max_degree |
598
|
2 |
447 |
unless $exp |
605
|
2 |
3 |
unless $exp |
612
|
6 |
6 |
if $degree <= 0 |
614
|
1 |
5 |
if defined $max_degree and $degree * $exp > $max_degree |
616
|
1 |
4 |
unless $exp |
618
|
1 |
3 |
unless @zeroes |
628
|
34 |
15 |
if ($degree <= $end) |
629
|
2 |
32 |
if 0 == $start |
649
|
5 |
2 |
unless (defined $const) |
657
|
3 |
28 |
$zero == $c ? : |
670
|
54 |
45 |
unless $config->{'fold_sign'} |
675
|
4 |
41 |
defined $sgn ? : |
682
|
17 |
58 |
unless $params or $this->string_config |
685
|
24 |
51 |
if ($max_exp < 0) |
693
|
25 |
50 |
$config{'ascending'} ? : |
697
|
43 |
81 |
if ($with_variable and $exp < $max_exp and $config{'fold_zero'} and $coeff == $zero) |
707
|
17 |
148 |
if ($ltz and &$ltz($coeff)) { } |
709
|
5 |
12 |
'' eq $result ? : |
712
|
70 |
78 |
'' eq $result ? : |
716
|
91 |
52 |
if (not $with_variable && $config{'fold_one'} or 0 == $exp and $config{'fold_exp_zero'} or $one != $coeff) |
723
|
14 |
99 |
unless $with_variable |
724
|
44 |
55 |
if (0 != $exp or not $config{'fold_exp_zero'}) |
730
|
96 |
55 |
if (0 != $exp or not $config{'fold_exp_zero'}) |
732
|
52 |
44 |
if (1 != $exp or not $config{'fold_exp_one'}) |
747
|
1 |
11 |
if ($exp < 0) |
754
|
3 |
9 |
if ($first_is_neg) |
759
|
3 |
9 |
$exp && $this->coeff_one == $coeff ? : |
762
|
2 |
10 |
$var_is_dynamic ? : |
765
|
6 |
12 |
if ($is_sum) |
768
|
6 |
12 |
if ($var_is_dynamic) |
772
|
8 |
10 |
if ($config{'expand_power'}) { } |
779
|
2 |
8 |
if $skip > $exp |
782
|
8 |
2 |
if ($skip) |
784
|
6 |
2 |
if 0 <= $exp |
785
|
7 |
1 |
if 1 < $skip |
790
|
15 |
3 |
defined $result ? : |
791
|
2 |
16 |
if ($first_is_neg) |
795
|
12 |
6 |
if ($is_sum) |
797
|
4 |
8 |
if ($is_neg) |
801
|
4 |
8 |
$is_neg ? : |
804
|
1 |
11 |
if ($first_is_neg) |
814
|
1 |
11 |
if ($exp < 0) |
822
|
2 |
10 |
$var_is_dynamic ? : |
827
|
12 |
22 |
if defined $result and $zero == $coeff |
831
|
12 |
10 |
if (0 != $exp) |
832
|
3 |
9 |
if ($var_is_dynamic) |
836
|
9 |
3 |
if (1 != $exp) |
837
|
2 |
7 |
if ($config{'expand_power'}) { } |
840
|
1 |
1 |
if ($var_is_dynamic) |
854
|
7 |
15 |
if ($is_neg) |
857
|
16 |
6 |
if (0 == $exp or $one != $coeff) |
859
|
10 |
6 |
0 == $exp ? : |
863
|
10 |
12 |
if (defined $result) { } |
864
|
2 |
8 |
$is_neg ? : |
867
|
5 |
7 |
$is_neg ? : |
878
|
3 |
0 |
unless defined $mod |
880
|
0 |
3 |
unless $mod_op |
882
|
3 |
0 |
if ($this_d < $that_d) |
889
|
0 |
6 |
unless $this_d > $that_d |
896
|
0 |
224 |
unless wantarray |
898
|
0 |
224 |
if ($this->degree < $that->degree) |
916
|
0 |
0 |
unless $that->is_equal($gcd) |
924
|
0 |
112 |
if $that->is_zero or $d2->is_zero |