-
Home
-
Wordfence Security – Firewall, Malware Scan, and Login Security
-
8.1.0 (latest)
-
Code
-
Classes
- wfLicense
| Total Complexity |
89 |
| Dependencies |
5 |
| Dependents |
5 |
| Total lines |
394 |
| Lines of code |
285 |
| Logical lines of code |
139 |
| Comment lines |
18 |
| Methods |
49 |
| Properties |
10 |
Methods 49
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| getTypeLabel() |
A |
54 |
12 |
19 |
| compareTiers() |
S |
64 |
5 |
11 |
| getRegistrationToken() |
S |
60 |
4 |
13 |
| resolveKeyType() |
S |
65 |
4 |
11 |
| setType() |
S |
73 |
4 |
4 |
| generateLicenseUrl() |
S |
60 |
3 |
13 |
| writeConfig() |
S |
61 |
3 |
12 |
| getUpgradeUrl() |
S |
59 |
2 |
18 |
| is() |
S |
78 |
3 |
3 |
| isAtLeast() |
S |
71 |
3 |
5 |
| isBelow() |
S |
71 |
3 |
5 |
| fromConfig() |
S |
59 |
2 |
15 |
| getType() |
S |
79 |
2 |
3 |
| getKeyType() |
S |
74 |
2 |
5 |
| getStylesheet() |
S |
70 |
2 |
5 |
| current() |
S |
71 |
2 |
6 |
| generateRegistrationLink() |
S |
59 |
1 |
15 |
| __construct() |
S |
65 |
1 |
9 |
| setApiKey() |
S |
77 |
1 |
4 |
| getApiKey() |
S |
82 |
1 |
3 |
| setPaid() |
S |
77 |
1 |
4 |
| isPaid() |
S |
82 |
1 |
3 |
| setRemainingDays() |
S |
76 |
1 |
4 |
| getRemainingDays() |
S |
82 |
1 |
3 |
| setConflicting() |
S |
77 |
1 |
4 |
| hasConflict() |
S |
82 |
1 |
3 |
| setDeleted() |
S |
77 |
1 |
4 |
| isExpired() |
S |
80 |
1 |
3 |
| isValid() |
S |
80 |
1 |
3 |
| isPaidAndCurrent() |
S |
80 |
1 |
3 |
| clearCache() |
S |
81 |
1 |
3 |
| isPremium() |
S |
79 |
1 |
3 |
| isAtLeastPremium() |
S |
80 |
1 |
3 |
| isBelowPremium() |
S |
80 |
1 |
3 |
| isCare() |
S |
79 |
1 |
3 |
| isAtLeastCare() |
S |
80 |
1 |
3 |
| isBelowCare() |
S |
80 |
1 |
3 |
| isResponse() |
S |
79 |
1 |
3 |
| isAtLeastResponse() |
S |
80 |
1 |
3 |
| isBelowResponse() |
S |
80 |
1 |
3 |
| getShieldLogo() |
S |
75 |
1 |
4 |
| getGlobalStylesheet() |
S |
80 |
1 |
3 |
| getBaseTypeLabel() |
S |
79 |
1 |
3 |
| getPrefixedTypeLabel() |
S |
79 |
1 |
3 |
| getSupportUrl() |
S |
67 |
1 |
9 |
| save() |
S |
81 |
1 |
3 |
| downgradeToFree() |
S |
64 |
1 |
10 |
| isValidType() |
S |
79 |
1 |
3 |
| validateRegistrationToken() |
S |
75 |
1 |
4 |