Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B Defender\Voter\IpRangeVoter::vote() 0 27 10 0 0 0
B Hongliang\Defender\Defender::react() 10 34 8 0 0 0
B Defender\Utility\IpTools::getClientIp() 0 26 6 0 0 0
A IpRangeVoter::getDefaultAssets() 0 22 1 0 0 0
A UriKeywordVoter::getDefaultAssets() 0 15 1 0 0 0
A Hongliang\Defender\Defender::exam() 0 15 4 0 0 0
A Defender\Voter\SpiderVoter::vote() 0 14 4 0 0 0
A Defender\Voter\UriKeywordVoter::vote() 0 12 4 0 0 0
A Hongliang\Defender\Defender::addVoter() 0 9 2 0 0 0
A Defender\Voter\BaseVoter::__construct() 0 9 3 0 0 0
A UriKeywordVoter::setDefaultTarget() 0 6 1 0 0 0
A Defender\Defender::sortVotersFunc() 0 4 1 0 0 0
A Voter\IpRangeVoter::getAssetsBuilt() 0 4 1 0 0 0
A Defender\Voter\BaseVoter::getAssets() 0 4 1 0 0 0
A Voter\IpRangeVoter::setAssetsBuilt() 0 6 1 0 0 0