Percentage | Lines | ||
---|---|---|---|
Address |
|
100 % | 99 |
SubnetIterator |
|
100 % | 40 |
Subnet |
|
100 % | 304 |
CRAP Score | Lines | ||
---|---|---|---|
Subnet::__construct() | 7 | 14 | |
Subnet::containsAddress() | 5 | 21 | |
Subnet::cidrToIp() | 3 | 7 | |
Subnet::setFromString() | 3 | 22 | |
Subnet::equals() | 2 | 3 | |
Address::fromString() | 2 | 7 | |
Subnet::setNetmask() | 2 | 11 | |
Address::toString() | 1 | 3 | |
Address::__construct() | 1 | 3 | |
Address::toBinary() | 1 | 3 | |