Total Complexity | 169 |
Dependencies | 2 |
Dependents | 0 |
Total lines | 1,455 |
Lines of code | 340 |
Logical lines of code | 160 |
Comment lines | 641 |
Methods | 36 |
Properties | 15 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
mobileGrade() | 32 | 77 | 55 | |
version() | 53 | 8 | 21 | |
isMobile() | 55 | 7 | 20 | |
setUserAgent() | 55 | 6 | 20 | |
checkHttpHeadersForMobile() | 57 | 6 | 17 | |
isTablet() | 58 | 6 | 15 | |
setCfHeaders() | 58 | 5 | 14 | |
setHttpHeaders() | 61 | 5 | 12 | |
getHttpHeader() | 60 | 4 | 13 | |
matchUAAgainstKey() | 61 | 4 | 13 | |
matchDetectionRulesAgainstUA() | 63 | 4 | 11 | |
setDetectionType() | 66 | 4 | 9 | |
is() | 65 | 3 | 10 | |
match() | 65 | 3 | 8 | |
getMobileDetectionRulesExtended() | 63 | 2 | 13 | |
getMobileDetectionRules() | 64 | 2 | 12 | |
prepareVersionNo() | 65 | 2 | 8 | |
__call() | 66 | 2 | 8 | |
getRules() | 70 | 2 | 7 | |
getProperties() | 80 | 1 | 3 | |
getOperatingSystems() | 80 | 1 | 3 | |
__construct() | 77 | 1 | 4 | |
getUtilities() | 80 | 1 | 3 | |
getScriptVersion() | 80 | 1 | 3 | |
getUserAgents() | 80 | 1 | 3 | |
getTabletDevices() | 80 | 1 | 3 | |
getPhoneDevices() | 80 | 1 | 3 | |
getMatchesArray() | 82 | 1 | 3 | |
getMatchingRegex() | 82 | 1 | 3 | |
getUserAgent() | 82 | 1 | 3 | |
prepareUserAgent() | 73 | 1 | 5 | |
getCfHeaders() | 82 | 1 | 3 | |
getUaHttpHeaders() | 81 | 1 | 3 | |
getMobileHeaders() | 81 | 1 | 3 | |
getHttpHeaders() | 82 | 1 | 3 | |
getBrowsers() | 80 | 1 | 3 |