-
Home
-
Backup by Supsystic
-
2.3.12 (latest)
-
Code
-
Classes
- mobileDetect
| Total Complexity |
126 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
669 |
| Lines of code |
225 |
| Logical lines of code |
94 |
| Comment lines |
202 |
| Methods |
22 |
| Properties |
11 |
Methods 22
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| mobileGrade() |
D |
36 |
58 |
48 |
| checkHttpHeadersForMobile() |
B |
49 |
21 |
28 |
| setUserAgent() |
S |
60 |
6 |
13 |
| version() |
S |
56 |
4 |
17 |
| setHttpHeaders() |
S |
62 |
4 |
11 |
| matchDetectionRulesAgainstUA() |
S |
65 |
4 |
9 |
| isMobile() |
S |
64 |
4 |
10 |
| matchUAAgainstKey() |
S |
65 |
3 |
9 |
| isTablet() |
S |
66 |
3 |
9 |
| is() |
S |
70 |
3 |
6 |
| getInstance() |
S |
70 |
2 |
7 |
| setDetectionType() |
S |
78 |
2 |
3 |
| getRules() |
S |
70 |
2 |
7 |
| match() |
S |
73 |
2 |
4 |
| __construct() |
S |
73 |
1 |
6 |
| _() |
S |
80 |
1 |
3 |
| setMobileDetectionRules() |
S |
69 |
1 |
8 |
| setMobileDetectionRulesExtended() |
S |
67 |
1 |
9 |
| __call() |
S |
72 |
1 |
5 |
| getOperatingSystems() |
S |
82 |
1 |
3 |
| getProperties() |
S |
83 |
1 |
3 |
| prepareVersionNo() |
S |
67 |
1 |
7 |