-
Home
-
WP BASE Booking of Appointments, Services and Events
-
3.9.3
-
Code
-
Classes
- WpB_Mobile_Detect
Total Complexity |
168 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
1,432 |
Lines of code |
335 |
Logical lines of code |
157 |
Comment lines |
628 |
Methods |
35 |
Properties |
15 |
Methods 35
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
mobileGrade() |
D |
32 |
77 |
55 |
version() |
A |
53 |
8 |
21 |
isMobile() |
S |
55 |
7 |
20 |
setUserAgent() |
S |
55 |
6 |
20 |
checkHttpHeadersForMobile() |
S |
57 |
6 |
17 |
isTablet() |
S |
58 |
6 |
15 |
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 |
is() |
S |
65 |
3 |
10 |
match() |
S |
65 |
3 |
8 |
getMobileDetectionRulesExtended() |
S |
63 |
2 |
13 |
getMobileDetectionRules() |
S |
64 |
2 |
12 |
getRules() |
S |
70 |
2 |
7 |
__call() |
S |
66 |
2 |
8 |
prepareVersionNo() |
S |
65 |
2 |
8 |
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 |
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 |