EFBL_Mobile_Detect D

Total Complexity 154
Dependencies 1
Dependents 0
Total lines 1,297
Lines of code 275
Logical lines of code 134
Comment lines 592
Methods 33
Properties 13

Methods 33

Method Rating Maintainability Complexity Lines of code
mobileGrade()
D
34 77 43
version()
A
53 8 22
checkHttpHeadersForMobile()
S
57 6 17
setUserAgent()
S
60 5 13
setHttpHeaders()
S
62 5 11
isMobile()
S
61 4 14
getHttpHeader()
S
60 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
match()
S
64 3 9
getRules()
S
70 2 7
__call()
S
66 2 8
prepareVersionNo()
S
65 2 8
getMobileDetectionRules()
S
69 2 7
getMobileDetectionRulesExtended()
S
69 2 7
getProperties()
S
80 1 3
__construct()
S
77 1 4
getOperatingSystems()
S
80 1 3
getScriptVersion()
S
80 1 3
getBrowsers()
S
80 1 3
getUserAgents()
S
80 1 3
getTabletDevices()
S
80 1 3
getPhoneDevices()
S
80 1 3
getMatchesArray()
S
82 1 3
getMatchingRegex()
S
82 1 3
getUserAgent()
S
82 1 3
getUaHttpHeaders()
S
81 1 3
getMobileHeaders()
S
81 1 3
getHttpHeaders()
S
82 1 3
getUtilities()
S
80 1 3