AddThisPlugin D

Total Complexity 134
Dependencies 5
Dependents 1
Total lines 1,503
Lines of code 826
Logical lines of code 401
Comment lines 416
Methods 45
Properties 23

Methods 45

Method Rating Maintainability Complexity Lines of code
getJavascriptForGlobalVariables()
B
33 17 100
bootstrap()
A
38 10 78
addScripts()
A
50 10 31
getInlineCodeForShortCode()
A
47 9 37
getAddThisPluginInfo()
S
50 7 29
validateCallback()
S
54 7 23
enqueueScripts()
S
49 6 35
printAddThisWidgetScript()
S
54 5 22
deactivate()
S
47 4 36
addShortCodes()
S
47 3 43
getJavaScriptToLoadTools()
S
48 2 57
htmlNameSpacesAttributes()
S
52 4 25
addMetaBox()
S
54 3 22
printMetaBoxHtml()
S
49 2 36
enqueueStyles()
S
57 3 17
printJavascriptForAdminUi()
S
45 1 43
settingLinksFilter()
S
62 3 12
saveMetaBoxOption()
S
62 3 11
registerWidgets()
S
65 3 10
activate()
S
53 1 23
existsWidget()
S
66 2 8
printJavaScriptForGlobalVariables()
S
66 2 9
addSettingsLinkToPlugin()
S
68 2 7
shortCodeByDomClass()
S
66 2 9
shortcodeExists()
S
69 2 7
metaBoxDisablesTools()
S
64 2 10
historicShortCodeVerticalRecommenededContent()
S
73 1 5
historicShortCodeSquareShare()
S
73 1 5
historicShortCodeCustomShare()
S
73 1 5
historicShortCodeJumboShare()
S
73 1 5
historicShortCodeOriginalShare()
S
73 1 5
historicShortCodeResponsiveShare()
S
73 1 5
historicShortCodeVerticalFollow()
S
73 1 5
historicShortCodeHorizontalRecommenededContent()
S
73 1 5
loadTextDomain()
S
74 1 4
historicShortCodeHorizontalFollow()
S
73 1 5
historicShortCodeCustomFollow()
S
73 1 5
getProductVersion()
S
75 1 4
initAnonymousAmpTools()
S
73 1 6
getCmsMinorVersion()
S
72 1 5
getCmsVersion()
S
76 1 4
getCmsName()
S
80 1 3
getVersion()
S
82 1 3
getUsableProfileId()
S
77 1 4
__construct()
S
81 1 3