-
Home
-
Premium Addons for Elementor
-
4.10.56
-
Code
-
Classes
- PA_Mobile_Detect
Total Complexity |
172 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
1,443 |
Lines of code |
345 |
Logical lines of code |
163 |
Comment lines |
653 |
Methods |
36 |
Properties |
15 |
Methods 36
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
mobileGrade() |
D |
31 |
78 |
56 |
version() |
A |
53 |
8 |
21 |
isMobile() |
S |
55 |
7 |
20 |
isTablet() |
S |
55 |
7 |
19 |
checkHttpHeadersForMobile() |
S |
57 |
7 |
17 |
setUserAgent() |
S |
55 |
6 |
20 |
setCfHeaders() |
S |
58 |
5 |
14 |
setHttpHeaders() |
S |
61 |
5 |
12 |
getHttpHeader() |
S |
60 |
4 |
13 |
matchUAAgainstKey() |
S |
61 |
4 |
13 |
matchDetectionRulesAgainstUA() |
S |
63 |
4 |
11 |
setDetectionType() |
S |
66 |
4 |
9 |
match() |
S |
65 |
3 |
8 |
is() |
S |
65 |
3 |
10 |
getMobileDetectionRulesExtended() |
S |
63 |
2 |
13 |
getMobileDetectionRules() |
S |
64 |
2 |
12 |
prepareVersionNo() |
S |
65 |
2 |
8 |
__call() |
S |
66 |
2 |
8 |
getRules() |
S |
70 |
2 |
7 |
getProperties() |
S |
80 |
1 |
3 |
getOperatingSystems() |
S |
80 |
1 |
3 |
__construct() |
S |
77 |
1 |
4 |
getUtilities() |
S |
80 |
1 |
3 |
getScriptVersion() |
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 |
prepareUserAgent() |
S |
73 |
1 |
5 |
getCfHeaders() |
S |
82 |
1 |
3 |
getUaHttpHeaders() |
S |
81 |
1 |
3 |
getMobileHeaders() |
S |
81 |
1 |
3 |
getHttpHeaders() |
S |
82 |
1 |
3 |
getBrowsers() |
S |
80 |
1 |
3 |