-
Home
-
ManageWP Worker
-
4.9.7
-
Code
-
Classes
- Math_BigInteger
Total Complexity |
471 |
Dependencies |
0 |
Dependents |
6 |
Total lines |
3,701 |
Lines of code |
1,913 |
Logical lines of code |
1,384 |
Comment lines |
1,249 |
Methods |
71 |
Properties |
6 |
Methods 71
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
D |
20 |
60 |
197 |
isPrime() |
D |
24 |
41 |
141 |
divide() |
C |
30 |
23 |
127 |
toBytes() |
B |
38 |
23 |
58 |
randomPrime() |
B |
38 |
21 |
69 |
modPow() |
B |
33 |
18 |
95 |
extendedGCD() |
B |
35 |
18 |
86 |
_subtract() |
B |
40 |
16 |
60 |
_add() |
A |
41 |
14 |
60 |
_multiplyLower() |
A |
45 |
12 |
42 |
_slidingWindow() |
A |
44 |
10 |
42 |
_compare() |
A |
55 |
10 |
18 |
_regularMultiply() |
A |
48 |
9 |
32 |
toString() |
A |
49 |
9 |
31 |
_normalize() |
A |
50 |
8 |
29 |
random() |
A |
45 |
7 |
41 |
modInverse() |
A |
51 |
8 |
25 |
_barrett() |
A |
42 |
6 |
55 |
bitwise_leftRotate() |
S |
49 |
7 |
29 |
_montgomeryMultiply() |
S |
48 |
6 |
31 |
toBits() |
S |
56 |
7 |
15 |
_regularBarrett() |
S |
45 |
5 |
43 |
_reduce() |
S |
53 |
6 |
24 |
_lshift() |
S |
54 |
6 |
20 |
_baseSquare() |
S |
54 |
6 |
19 |
_montgomery() |
S |
51 |
5 |
25 |
_base256_rshift() |
S |
52 |
5 |
24 |
bitwise_xor() |
S |
52 |
4 |
23 |
bitwise_or() |
S |
52 |
4 |
23 |
bitwise_and() |
S |
53 |
4 |
22 |
bitwise_leftShift() |
S |
55 |
4 |
19 |
bitwise_rightShift() |
S |
55 |
4 |
19 |
_rshift() |
S |
55 |
4 |
19 |
_multiply() |
S |
57 |
4 |
16 |
_random_number_helper() |
S |
58 |
4 |
15 |
_base256_lshift() |
S |
57 |
4 |
15 |
abs() |
S |
59 |
4 |
14 |
_make_odd() |
S |
59 |
4 |
14 |
bitwise_not() |
S |
54 |
3 |
19 |
subtract() |
S |
57 |
3 |
17 |
add() |
S |
57 |
3 |
17 |
multiply() |
S |
57 |
3 |
17 |
__sleep() |
S |
63 |
3 |
11 |
_karatsuba() |
S |
53 |
2 |
22 |
_karatsubaSquare() |
S |
55 |
2 |
19 |
compare() |
S |
65 |
3 |
9 |
equals() |
S |
66 |
3 |
8 |
_trim() |
S |
65 |
3 |
9 |
_array_repeat() |
S |
78 |
2 |
3 |
_encodeASN1Length() |
S |
67 |
2 |
7 |
setPrecision() |
S |
62 |
2 |
10 |
_safe_divide() |
S |
70 |
2 |
6 |
_multiplyReduce() |
S |
67 |
2 |
7 |
_divide_digit() |
S |
63 |
2 |
10 |
_square() |
S |
72 |
2 |
5 |
_prepareReduce() |
S |
70 |
2 |
6 |
_squareReduce() |
S |
70 |
2 |
6 |
__wakeup() |
S |
65 |
2 |
9 |
copy() |
S |
65 |
1 |
9 |
_modInverse67108864() |
S |
64 |
1 |
9 |
_prepMontgomery() |
S |
66 |
1 |
8 |
_mod2() |
S |
73 |
1 |
5 |
__clone() |
S |
81 |
1 |
3 |
toHex() |
S |
80 |
1 |
3 |
__toString() |
S |
81 |
1 |
3 |
powMod() |
S |
79 |
1 |
3 |
setRandomGenerator() |
S |
91 |
1 |
2 |
_int2bytes() |
S |
78 |
1 |
3 |
_bytes2int() |
S |
73 |
1 |
4 |
bitwise_rightRotate() |
S |
80 |
1 |
3 |
gcd() |
S |
76 |
1 |
4 |