Percentage | Lines | ||
---|---|---|---|
Detector |
|
0 % | 16 |
Agent |
|
0 % | 39 |
AgentServiceProvider |
|
100 % | 43 |
Agent |
|
100 % | 174 |
DeviceDetector |
|
100 % | 181 |
LanguageDetector |
|
100 % | 98 |
CRAP Score | Lines | ||
---|---|---|---|
LanguageDetector::parse() | 3 | 13 | |
Agent::parse() | 3 | 12 | |
Agent::__call() | 2 | 8 | |
LanguageDetector::fromAcceptLanguage() | 2 | 10 | |
AgentServiceProvider::provides() | 1 | 6 | |
Agent::setRequest() | 1 | 6 | |
Agent::getRequest() | 1 | 4 | |
Agent::getParsed() | 1 | 4 | |
DeviceDetector::osName() | 1 | 4 | |
DeviceDetector::osShortName() | 1 | 4 | |