MchGdbcIPUtils D

Total Complexity 202
Dependencies 3
Dependents 5
Total lines 885
Lines of code 558
Logical lines of code 383
Comment lines 43
Methods 40
Properties 0

Methods 40

Method Rating Maintainability Complexity Lines of code
ipAddressToBinary()
A
48 13 29
getIpMaxPrefix()
A
48 11 30
sanitizeCIDRRange()
A
50 11 26
getIpAddressNetMask()
A
52 11 20
getAllIpAddressesFromCIDR()
A
48 9 32
isIpInCIDRRange()
A
50 8 29
ipV6FromBinary()
A
51 8 26
ipAddressToNumber()
A
52 8 22
sanitizeIpAddress()
A
55 8 18
getCIDRListFromRange()
S
51 7 25
ipAddressFromBinary()
S
63 8 9
getCIDRRangeBounds()
S
51 6 25
isPublicIpAddress()
S
63 7 8
combineCIDRRanges()
S
50 5 29
getCountryCode()
S
55 5 20
ipAddressToBitRepresentation()
S
55 5 18
getCIDRFromNetMask()
S
61 5 11
getCIDRNumberOfHosts()
S
56 4 17
extractMappedIPV4FromIPv6()
S
66 5 7
hasIPV6Support()
S
68 5 6
generateRandomIPV4()
S
59 4 13
mathBigIntPow()
S
59 4 13
generateRandomIPV6()
S
60 4 12
compareIPV6()
S
59 4 12
ipAddressFromNumber()
S
55 3 18
hasIpV4Support()
S
68 4 6
ipAddressFromBitRepresentation()
S
57 3 15
getIpAddressVersion()
S
63 4 10
compressIPV6()
S
71 4 5
expandIPV6()
S
69 4 5
isIPV4MappedIPV6()
S
71 2 5
sortCIDRCallback()
S
63 2 9
getMaxIpAddressFromCIDR()
S
74 2 4
ipV4FromBinary()
S
73 2 4
getMinIpAddressFromCIDR()
S
74 2 4
getIpAddressNetwork()
S
79 1 3
getIpAddressBroadcast()
S
79 1 3
getSortedCIDRs()
S
75 1 4
compareIPV4()
S
77 1 3
isValidIpAddress()
S
78 1 3