Code

Rating   Name Duplication Size Complexity Changes Bugs Features
A CrawlerDetect\CrawlerDetect::setHttpHeaders() 0 18 5 0 0 0
A CrawlerDetect\CrawlerDetect::isCrawler() 0 20 4 0 0 0
A UserAgentTest::there_are_no_regex_collisions() 0 15 4 0 0 0
A CrawlerDetect\CrawlerDetect::setUserAgent() 0 12 4 0 0 0
A CrawlerDetect\CrawlerDetect::__construct() 0 12 1 0 0 0
A UserAgentTest::user_agents_are_bots() 9 9 2 0 0 0
A UserAgentTest::user_agents_are_devices() 9 9 2 0 0 0
A UserAgentTest::it_returns_correct_matched_bot_name() 8 8 1 0 0 0
A CrawlerDetect::getUaHttpHeaders() 0 4 1 0 0 0
A export.php ➔ outputJson() 0 5 1 0 0 0
A UserAgentTest::the_regex_patterns_are_unique() 0 6 1 0 0 0
A UserAgentTest::it_returns_null_when_no_bot_detected() 8 8 1 0 0 0
A export.php ➔ outputTxt() 0 5 1 0 0 0
A UserAgentTest::empty_user_agent() 0 6 1 0 0 0
A UserAgentTest::setUp() 0 4 1 0 0 0