AddThisGlobalOptionsFeature D

Total Complexity 139
Dependencies 1
Dependents 2
Total lines 1,005
Lines of code 501
Logical lines of code 251
Comment lines 238
Methods 29
Properties 14

Methods 29

Method Rating Maintainability Complexity Lines of code
sanitizeSettings()
C
33 23 105
upgradeIterative1()
B
39 23 65
upgradeIterative2()
A
42 15 50
getAddThisConfig()
A
47 8 40
getHtmlForFilter()
A
53 8 22
addDefaultConfigs()
S
59 8 14
getBoostConfig()
S
57 6 15
getSettingsLinkHtmlForWidgets()
S
52 5 24
getAddThisWidgetJavaScriptUrl()
S
58 4 16
getDarkseidBaseUrl()
S
59 4 15
getSettingsUiBaseUrl()
S
59 4 14
isMinimalPlugin()
S
66 4 9
getAnonymousProfileId()
S
62 3 12
getAddThisShare()
S
62 3 11
getProfileId()
S
67 3 8
inAnonymousMode()
S
67 3 8
eulaText()
S
58 1 17
upgradeIterative3()
S
65 2 9
getUsableProfileId()
S
68 2 8
printGetJsonNonce()
S
71 1 6
getClassForTypeAndLocation()
S
76 1 4
__construct()
S
81 1 3
registerAjaxEndpoints()
S
75 1 4
getAddThisLayers()
S
77 1 4
getHomepageUrl()
S
76 1 4
getAnonymousProfileIdPrefix()
S
80 1 3
getAnonymousProfileHash()
S
72 1 5
inRegisteredMode()
S
80 1 3
isEnabled()
S
82 1 3