-
Home
-
WDS Theme Switcher
-
1.0.0 (latest)
-
Code
-
Classes
- BasicTest
Total Complexity |
26 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
515 |
Lines of code |
369 |
Logical lines of code |
102 |
Comment lines |
72 |
Methods |
24 |
Properties |
1 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
quickHeadersData() |
S |
46 |
1 |
55 |
testConstructorInjection() |
S |
60 |
3 |
13 |
versionDataProvider() |
S |
50 |
1 |
40 |
headersProvider() |
S |
48 |
1 |
36 |
testSetCfHeaders() |
S |
50 |
1 |
35 |
testBasicMethods() |
S |
48 |
1 |
33 |
testSetDetectionType() |
S |
55 |
1 |
27 |
quickNonMobileHeadersData() |
S |
59 |
1 |
19 |
userAgentProvider() |
S |
61 |
1 |
15 |
testRulesExtended() |
S |
61 |
1 |
13 |
crazyVersionNumbers() |
S |
63 |
1 |
11 |
testRules() |
S |
63 |
1 |
11 |
testBadMethodCall() |
S |
77 |
1 |
4 |
testScriptVersion() |
S |
69 |
1 |
6 |
testVersionExtraction() |
S |
65 |
1 |
9 |
testClassExists() |
S |
80 |
1 |
3 |
testNonMobileQuickHeaders() |
S |
76 |
1 |
4 |
testQuickHeaders() |
S |
76 |
1 |
4 |
setUp() |
S |
81 |
1 |
3 |
testSetUserAgent() |
S |
73 |
1 |
5 |
testSetHttpHeaders() |
S |
66 |
1 |
8 |
testGetUserAgent() |
S |
72 |
1 |
5 |
testInvalidHeader() |
S |
75 |
1 |
4 |
testPrepareVersionNo() |
S |
69 |
1 |
6 |