-
Home
-
Contact Forms by Cimatti
-
1.9.12 (latest)
-
Code
-
Classes
- Math_BigInteger
| Total Complexity |
488 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
3,638 |
| Lines of code |
1,940 |
| Logical lines of code |
1,406 |
| Comment lines |
1,184 |
| Methods |
73 |
| Properties |
5 |
Methods 73
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| __construct() |
D |
18 |
66 |
209 |
| isPrime() |
D |
25 |
41 |
118 |
| divide() |
C |
30 |
23 |
127 |
| toBytes() |
C |
38 |
24 |
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 |
| _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 |
| _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 |
| 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 |
| bitwise_leftShift() |
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 |
| add() |
S |
57 |
3 |
17 |
| subtract() |
S |
57 |
3 |
17 |
| multiply() |
S |
57 |
3 |
17 |
| _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 |
| __sleep() |
S |
67 |
2 |
8 |
| __wakeup() |
S |
67 |
2 |
8 |
| _square() |
S |
72 |
2 |
5 |
| _divide_digit() |
S |
63 |
2 |
10 |
| _prepareReduce() |
S |
70 |
2 |
6 |
| _multiplyReduce() |
S |
67 |
2 |
7 |
| _squareReduce() |
S |
70 |
2 |
6 |
| setPrecision() |
S |
62 |
2 |
10 |
| _array_repeat() |
S |
78 |
2 |
3 |
| _encodeASN1Length() |
S |
67 |
2 |
7 |
| _safe_divide() |
S |
70 |
2 |
6 |
| Math_BigInteger() |
S |
80 |
1 |
3 |
| toHex() |
S |
80 |
1 |
3 |
| copy() |
S |
67 |
1 |
8 |
| __toString() |
S |
82 |
1 |
3 |
| __clone() |
S |
82 |
1 |
3 |
| powMod() |
S |
80 |
1 |
3 |
| _mod2() |
S |
73 |
1 |
5 |
| _prepMontgomery() |
S |
66 |
1 |
8 |
| _modInverse67108864() |
S |
64 |
1 |
9 |
| gcd() |
S |
77 |
1 |
4 |
| bitwise_rightRotate() |
S |
80 |
1 |
3 |
| setRandomGenerator() |
S |
100 |
1 |
2 |
| _int2bytes() |
S |
78 |
1 |
3 |
| _bytes2int() |
S |
73 |
1 |
4 |