wfLicense B

Total Complexity 88
Dependencies 5
Dependents 3
Total lines 390
Lines of code 282
Logical lines of code 138
Comment lines 18
Methods 48
Properties 10

Methods 48

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
isBelow()
S
71 3 5
is()
S
78 3 3
fromConfig()
S
59 2 15
isAtLeast()
S
71 3 5
getStylesheet()
S
70 2 5
getKeyType()
S
74 2 5
generateRegistrationLink()
S
59 1 15
getType()
S
79 2 3
current()
S
71 2 6
getSupportUrl()
S
67 1 9
isAtLeastResponse()
S
80 1 3
save()
S
81 1 3
getPrefixedTypeLabel()
S
79 1 3
downgradeToFree()
S
64 1 10
isValidType()
S
79 1 3
getGlobalStylesheet()
S
80 1 3
validateRegistrationToken()
S
75 1 4
getShieldLogo()
S
75 1 4
isBelowResponse()
S
80 1 3
__construct()
S
65 1 9
isResponse()
S
79 1 3
setDeleted()
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
isExpired()
S
80 1 3
isBelowCare()
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
setApiKey()
S
77 1 4
isCare()
S
79 1 3
isAtLeastCare()
S
80 1 3
isBelowPremium()
S
80 1 3