Total Complexity | 88 |
Dependencies | 5 |
Dependents | 5 |
Total lines | 390 |
Lines of code | 282 |
Logical lines of code | 138 |
Comment lines | 18 |
Methods | 48 |
Properties | 10 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
getTypeLabel() | 54 | 12 | 19 | |
compareTiers() | 64 | 5 | 11 | |
getRegistrationToken() | 60 | 4 | 13 | |
resolveKeyType() | 65 | 4 | 11 | |
setType() | 73 | 4 | 4 | |
generateLicenseUrl() | 60 | 3 | 13 | |
writeConfig() | 61 | 3 | 12 | |
getUpgradeUrl() | 59 | 2 | 18 | |
isBelow() | 71 | 3 | 5 | |
is() | 78 | 3 | 3 | |
fromConfig() | 59 | 2 | 15 | |
isAtLeast() | 71 | 3 | 5 | |
getStylesheet() | 70 | 2 | 5 | |
getKeyType() | 74 | 2 | 5 | |
generateRegistrationLink() | 59 | 1 | 15 | |
getType() | 79 | 2 | 3 | |
current() | 71 | 2 | 6 | |
getSupportUrl() | 67 | 1 | 9 | |
isAtLeastResponse() | 80 | 1 | 3 | |
save() | 81 | 1 | 3 | |
getPrefixedTypeLabel() | 79 | 1 | 3 | |
downgradeToFree() | 64 | 1 | 10 | |
isValidType() | 79 | 1 | 3 | |
getGlobalStylesheet() | 80 | 1 | 3 | |
validateRegistrationToken() | 75 | 1 | 4 | |
getShieldLogo() | 75 | 1 | 4 | |
isBelowResponse() | 80 | 1 | 3 | |
__construct() | 65 | 1 | 9 | |
isResponse() | 79 | 1 | 3 | |
setDeleted() | 77 | 1 | 4 | |
getApiKey() | 82 | 1 | 3 | |
setPaid() | 77 | 1 | 4 | |
isPaid() | 82 | 1 | 3 | |
setRemainingDays() | 76 | 1 | 4 | |
getRemainingDays() | 82 | 1 | 3 | |
setConflicting() | 77 | 1 | 4 | |
hasConflict() | 82 | 1 | 3 | |
isExpired() | 80 | 1 | 3 | |
isBelowCare() | 80 | 1 | 3 | |
isValid() | 80 | 1 | 3 | |
isPaidAndCurrent() | 80 | 1 | 3 | |
clearCache() | 81 | 1 | 3 | |
isPremium() | 79 | 1 | 3 | |
isAtLeastPremium() | 80 | 1 | 3 | |
setApiKey() | 77 | 1 | 4 | |
isCare() | 79 | 1 | 3 | |
isAtLeastCare() | 80 | 1 | 3 | |
isBelowPremium() | 80 | 1 | 3 |