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::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 WhipTest::testValidWhitelistedProxyMethodWithWildcardNotation() 0 10 1 ? 3 0 1
A IpRange\Ipv4Range::parseHyphenRange() 0 1 1 1 0 0 0
A WhipTest::testHttpXRealIpHeader() 0 5 1 ? 2 0 1
A Vectorface\Whip\Whip::getValidIpAddress() 0 4 3 3 0 0 0
A IpRange\Ipv6Range::__construct() 0 1 1 1 0 0 0
A IpRange\IpWhitelist::isIpInWhitelist() 0 4 3 3 0 0 0
A WhipTests\WhipTest::testPsr7Request() 0 7 1 ? 3 0 1
A SuperglobalRequestAdapter::getRemoteAddr() 0 1 1 1 1 0 0
A Vectorface\Whip\Whip::__construct() 0 7 3 3 2 0 0