-
Home
-
GEO Traffic Control and Redirect
-
2.9.4 (latest)
-
Code
-
Classes
- sg_Geo_IP2Country
Total Complexity |
102 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
1,276 |
Lines of code |
344 |
Logical lines of code |
250 |
Comment lines |
479 |
Methods |
33 |
Properties |
18 |
Methods 33
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
decodeByType() |
A |
47 |
13 |
34 |
decodeBigUint() |
S |
52 |
6 |
22 |
decode() |
S |
51 |
5 |
28 |
readNode() |
S |
51 |
5 |
26 |
findAddressInTree() |
S |
54 |
5 |
19 |
sizeFromCtrlByte() |
S |
57 |
5 |
15 |
get() |
S |
62 |
6 |
10 |
ipV4StartNode() |
S |
60 |
5 |
14 |
findMetadataStart() |
S |
54 |
4 |
20 |
__construct() |
S |
57 |
4 |
16 |
read() |
S |
62 |
4 |
12 |
getCountryByIP() |
S |
68 |
4 |
6 |
metadata() |
S |
72 |
3 |
5 |
startNode() |
S |
70 |
3 |
6 |
getContinentByIP() |
S |
69 |
3 |
6 |
decodePointer() |
S |
60 |
2 |
12 |
resolveDataPointer() |
S |
68 |
2 |
7 |
decodeBoolean() |
S |
79 |
2 |
3 |
decodeMap() |
S |
65 |
2 |
9 |
verifySize() |
S |
79 |
2 |
3 |
decodeArray() |
S |
66 |
2 |
8 |
getNameByCountryCode() |
S |
69 |
2 |
7 |
maybeSwitchByteOrder() |
S |
79 |
2 |
3 |
setMetaData() |
S |
58 |
1 |
15 |
close() |
S |
75 |
2 |
4 |
zeroPadLeft() |
S |
78 |
1 |
3 |
decodeString() |
S |
82 |
1 |
3 |
decodeDouble() |
S |
75 |
1 |
4 |
decodeUint() |
S |
74 |
1 |
4 |
decodeInt32() |
S |
72 |
1 |
5 |
decodeFloat() |
S |
75 |
1 |
4 |
decoderFunc() |
S |
71 |
1 |
6 |
isPlatformLittleEndian() |
S |
72 |
1 |
5 |