-
Home
-
SSH SFTP Updater Support
-
0.8.4
-
Code
-
Classes
- Math_BigInteger
Total Complexity |
496 |
Dependencies |
0 |
Dependents |
6 |
Total lines |
3,659 |
Lines of code |
1,961 |
Logical lines of code |
1,421 |
Comment lines |
1,184 |
Methods |
73 |
Properties |
5 |
Methods 73
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
D |
18 |
68 |
212 |
isPrime() |
D |
25 |
41 |
118 |
divide() |
C |
30 |
24 |
129 |
toBytes() |
C |
37 |
25 |
62 |
randomPrime() |
B |
38 |
22 |
69 |
modPow() |
B |
33 |
18 |
101 |
extendedGCD() |
B |
35 |
18 |
86 |
_subtract() |
B |
40 |
16 |
60 |
_add() |
A |
41 |
14 |
60 |
_multiplyLower() |
A |
45 |
12 |
42 |
_slidingWindow() |
A |
44 |
10 |
43 |
_normalize() |
A |
47 |
10 |
37 |
_compare() |
A |
55 |
10 |
18 |
_regularMultiply() |
A |
48 |
9 |
32 |
toString() |
A |
48 |
9 |
32 |
random() |
A |
45 |
7 |
41 |
_barrett() |
A |
42 |
6 |
55 |
modInverse() |
A |
51 |
8 |
25 |
__debugInfo() |
A |
52 |
8 |
24 |
bitwise_leftRotate() |
S |
48 |
7 |
30 |
_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 |
compare() |
S |
58 |
5 |
16 |
bitwise_xor() |
S |
52 |
4 |
24 |
bitwise_or() |
S |
52 |
4 |
23 |
bitwise_and() |
S |
53 |
4 |
22 |
bitwise_not() |
S |
52 |
4 |
22 |
bitwise_rightShift() |
S |
55 |
4 |
19 |
_rshift() |
S |
55 |
4 |
19 |
bitwise_leftShift() |
S |
55 |
4 |
19 |
_multiply() |
S |
57 |
4 |
16 |
_random_number_helper() |
S |
58 |
4 |
15 |
_base256_lshift() |
S |
57 |
4 |
15 |
_make_odd() |
S |
59 |
4 |
14 |
abs() |
S |
59 |
4 |
14 |
add() |
S |
57 |
3 |
17 |
multiply() |
S |
57 |
3 |
17 |
subtract() |
S |
57 |
3 |
17 |
_karatsuba() |
S |
53 |
2 |
22 |
_karatsubaSquare() |
S |
55 |
2 |
19 |
equals() |
S |
66 |
3 |
8 |
_trim() |
S |
65 |
3 |
9 |
__wakeup() |
S |
67 |
2 |
8 |
_array_repeat() |
S |
78 |
2 |
3 |
_encodeASN1Length() |
S |
67 |
2 |
7 |
__sleep() |
S |
67 |
2 |
8 |
_safe_divide() |
S |
70 |
2 |
6 |
_divide_digit() |
S |
63 |
2 |
10 |
setPrecision() |
S |
62 |
2 |
10 |
_prepareReduce() |
S |
70 |
2 |
6 |
_multiplyReduce() |
S |
67 |
2 |
7 |
_squareReduce() |
S |
70 |
2 |
6 |
_square() |
S |
72 |
2 |
5 |
_bytes2int() |
S |
73 |
1 |
4 |
_int2bytes() |
S |
78 |
1 |
3 |
_mod2() |
S |
73 |
1 |
5 |
toHex() |
S |
80 |
1 |
3 |
Math_BigInteger() |
S |
80 |
1 |
3 |
copy() |
S |
67 |
1 |
8 |
__toString() |
S |
82 |
1 |
3 |
_prepMontgomery() |
S |
66 |
1 |
8 |
__clone() |
S |
82 |
1 |
3 |
_modInverse67108864() |
S |
64 |
1 |
9 |
gcd() |
S |
77 |
1 |
4 |
setRandomGenerator() |
S |
100 |
1 |
2 |
bitwise_rightRotate() |
S |
80 |
1 |
3 |
powMod() |
S |
80 |
1 |
3 |