-
Home
-
Loginizer
-
1.7.6
-
Code
-
Classes
- Math_BigInteger
Total Complexity |
434 |
Dependencies |
0 |
Dependents |
2 |
Total lines |
3,370 |
Lines of code |
1,778 |
Logical lines of code |
1,307 |
Comment lines |
1,107 |
Methods |
69 |
Properties |
6 |
Methods 69
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
D |
25 |
45 |
151 |
isPrime() |
D |
25 |
41 |
117 |
divide() |
C |
30 |
23 |
128 |
toBytes() |
B |
39 |
23 |
58 |
randomPrime() |
B |
39 |
20 |
66 |
extendedGCD() |
B |
35 |
18 |
86 |
_subtract() |
A |
41 |
15 |
60 |
modPow() |
A |
39 |
14 |
64 |
_add() |
A |
41 |
13 |
60 |
_slidingWindow() |
A |
44 |
10 |
42 |
_multiplyLower() |
A |
46 |
10 |
42 |
_compare() |
A |
55 |
10 |
18 |
_regularMultiply() |
A |
49 |
9 |
32 |
toString() |
A |
49 |
9 |
31 |
modInverse() |
A |
51 |
9 |
25 |
random() |
A |
46 |
8 |
37 |
_normalize() |
A |
50 |
8 |
29 |
_barrett() |
A |
42 |
6 |
55 |
bitwise_leftRotate() |
S |
49 |
7 |
29 |
_regularBarrett() |
S |
45 |
5 |
43 |
_reduce() |
S |
53 |
6 |
24 |
_base256_rshift() |
S |
52 |
5 |
24 |
_lshift() |
S |
55 |
5 |
20 |
_montgomeryMultiply() |
S |
49 |
4 |
31 |
_montgomery() |
S |
51 |
4 |
25 |
bitwise_xor() |
S |
52 |
4 |
23 |
bitwise_or() |
S |
52 |
4 |
23 |
bitwise_and() |
S |
53 |
4 |
22 |
_rshift() |
S |
55 |
4 |
19 |
bitwise_leftShift() |
S |
55 |
4 |
19 |
bitwise_rightShift() |
S |
55 |
4 |
19 |
_baseSquare() |
S |
55 |
4 |
19 |
_multiply() |
S |
57 |
4 |
16 |
_base256_lshift() |
S |
57 |
4 |
15 |
abs() |
S |
59 |
4 |
14 |
_make_odd() |
S |
59 |
4 |
14 |
toBits() |
S |
60 |
4 |
11 |
bitwise_not() |
S |
54 |
3 |
19 |
add() |
S |
57 |
3 |
17 |
subtract() |
S |
57 |
3 |
17 |
multiply() |
S |
57 |
3 |
17 |
__sleep() |
S |
63 |
3 |
11 |
_karatsuba() |
S |
53 |
2 |
22 |
_karatsubaSquare() |
S |
55 |
2 |
19 |
_divide_digit() |
S |
62 |
3 |
10 |
compare() |
S |
65 |
3 |
9 |
equals() |
S |
66 |
3 |
8 |
_trim() |
S |
65 |
3 |
9 |
_squareReduce() |
S |
70 |
2 |
6 |
_square() |
S |
72 |
2 |
5 |
setPrecision() |
S |
62 |
2 |
10 |
_array_repeat() |
S |
78 |
2 |
3 |
_multiplyReduce() |
S |
67 |
2 |
7 |
_prepareReduce() |
S |
70 |
2 |
6 |
__wakeup() |
S |
65 |
2 |
9 |
_modInverse67108864() |
S |
64 |
1 |
9 |
_int2bytes() |
S |
78 |
1 |
3 |
toHex() |
S |
80 |
1 |
3 |
bitwise_rightRotate() |
S |
80 |
1 |
3 |
__clone() |
S |
82 |
1 |
3 |
setRandomGenerator() |
S |
82 |
1 |
3 |
__toString() |
S |
82 |
1 |
3 |
powMod() |
S |
80 |
1 |
3 |
copy() |
S |
66 |
1 |
9 |
_mod2() |
S |
73 |
1 |
5 |
Math_BigInteger() |
S |
79 |
1 |
3 |
_prepMontgomery() |
S |
66 |
1 |
8 |
gcd() |
S |
77 |
1 |
4 |
_bytes2int() |
S |
73 |
1 |
4 |