Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A Vectorface\Whip\Whip::getIpAddress() 0 11 6 6 4 0 0
A Ipv4Range::computeLowerAndUpperBounds() 0 11 4 4 0 0 0
A WhipTests\WhipTest::testCustomHeader() 0 11 1 ? 2 0 1
A WhipTest::testValidWhitelistedProxyMethodWithWildcardNotation() 0 10 1 ? 3 0 1
A WhipTest::testValidWhitelistedProxyMethodWithCIDRdNotation() 0 10 1 ? 3 0 1
A WhipTest::testValidIpRejectedDueToWhitelist() 0 10 1 ? 3 0 1
A WhipTest::testValidWhitelistedProxyMethodWithDashNotation() 0 10 1 ? 3 0 1
A IpRange\Ipv4Range::parseWildcardRange() 0 6 1 2 0 0 0
A WhipTest::proxyMethodWhitelistProvider() 0 3 1 ? 1 0 1
A Vectorface\Whip\Whip::setSource() 0 2 1 1 1 0 0
A WhipTests\WhipTest::testSuperglobal() 0 3 1 ? 1 0 0
A IpRange\Ipv6Range::hexToBinary() 0 1 1 2 0 0 0
A IpRange\IpWhitelist::isIpWhitelisted() 0 4 2 2 0 0 0
A WhipTest::testInvalidIPv4Address() 0 3 1 ? 1 0 1
A SuperglobalRequestAdapter::serverToHeaders() 0 6 3 3 1 0 0