Total Complexity | 53 |
Dependencies | 2 |
Dependents | 0 |
Total lines | 190 |
Lines of code | 147 |
Logical lines of code | 91 |
Comment lines | 33 |
Methods | 6 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
_getCleanIPAndServerVar() | 36 | 26 | 79 | |
getIP() | 45 | 18 | 39 | |
_isPrivateIP() | 58 | 5 | 14 | |
createFromGlobals() | 65 | 2 | 9 | |
_isValidIP() | 78 | 1 | 3 | |
_isIPv6MappedIPv4() | 79 | 1 | 3 |