Percentage | Lines | ||
---|---|---|---|
IPv4 |
|
100 % | 15 |
SubnetIterator |
|
100 % | 84 |
RangeIterator |
|
100 % | 83 |
Subnet |
|
100 % | 168 |
Range |
|
100 % | 281 |
Netmask |
|
100 % | 113 |
Address |
|
100 % | 361 |
CRAP Score | Lines | ||
---|---|---|---|
Address::fromArray() | 11 | 44 | |
Range::offsetExists() | 6 | 19 | |
Address::getClass() | 6 | 27 | |
Netmask::__construct() | 5 | 21 | |
Subnet::fromString() | 4 | 13 | |
Subnet::__construct() | 4 | 18 | |
Range::fromCount() | 3 | 16 | |
Netmask::fromCidr() | 3 | 8 | |
Netmask::asCidr() | 3 | 9 | |
Address::isRFC1918() | 3 | 14 | |