MobileDetector A

Total Complexity 71
Dependencies 0
Dependents 1
Total lines 430
Lines of code 163
Logical lines of code 81
Comment lines 16
Methods 24
Properties 9

Methods 24

Method Rating Maintainability Complexity Lines of code
checkHttpHeadersForMobile()
B
59 20 10
setHttpHeaders()
S
62 5 11
isMobile()
S
61 4 14
getHttpHeader()
S
60 4 13
setUserAgent()
S
61 4 13
matchDetectionRulesAgainstUA()
S
63 4 11
setDetectionType()
S
66 4 9
matchUAAgainstKey()
S
63 3 11
is()
S
65 3 10
isTablet()
S
66 3 9
getMobileDetectionRules()
S
69 2 7
match()
S
73 2 4
getMobileDetectionRulesExtended()
S
69 2 7
getOperatingSystems()
S
80 1 3
__construct()
S
77 1 4
getRules()
S
80 1 3
getUtilities()
S
80 1 3
getBrowsers()
S
80 1 3
getUserAgents()
S
80 1 3
getTabletDevices()
S
80 1 3
getPhoneDevices()
S
80 1 3
getUserAgent()
S
82 1 3
getHttpHeaders()
S
82 1 3
getProperties()
S
80 1 3