ShareYourCartBase D

Total Complexity 152
Dependencies 6
Dependents 0
Total lines 1,277
Lines of code 517
Logical lines of code 285
Comment lines 515
Methods 64
Properties 4

Methods 64

Method Rating Maintainability Complexity Lines of code
getAdminPage()
C
32 24 114
getButtonCustomizationPage()
A
39 11 64
getUrl()
A
54 8 20
checkSDKStatus()
S
51 7 24
renderButton()
S
48 5 32
couponCallback()
S
57 6 15
install()
S
57 5 16
renderView()
S
55 4 20
createTable()
S
58 4 14
getProductButton()
S
70 4 6
__construct()
S
59 3 13
activate()
S
62 3 11
startSession()
S
66 3 8
loadLanguage()
S
65 3 9
canLoad()
S
67 3 7
getDocumentationPage()
S
64 2 10
dropTable()
S
68 2 6
getAdminHeader()
S
71 2 6
getPageHeader()
S
69 2 7
getCartButton()
S
70 2 6
isFirstCall()
S
70 2 6
getButton()
S
75 2 4
UncaughtExceptionHandler()
S
72 2 6
uninstall()
S
68 2 7
getVersion()
S
71 2 5
getRow()
S
100 1 0
saveCoupon()
S
91 1 2
getUploadDir()
S
79 1 3
showDocumentationPage()
S
79 1 3
createUrl()
S
100 1 0
showUpdateNotification()
S
81 1 3
getUpdateNotification()
S
80 1 3
getButtonCallbackURL()
S
100 1 0
getSessionId()
S
82 1 3
getTableName()
S
100 1 0
showButtonCustomizationPage()
S
79 1 3
isOutOfStock()
S
82 1 3
existsTable()
S
74 1 4
isSingleProduct()
S
100 1 0
getCurrentProductDetails()
S
82 1 3
getConfigValue()
S
100 1 0
setConfigValue()
S
100 1 0
loadSessionData()
S
100 1 0
showAdminPage()
S
79 1 3
getSecretKey()
S
100 1 0
executeNonQuery()
S
100 1 0
deactivate()
S
71 1 5
getAppKey()
S
80 1 3
getClientId()
S
80 1 3
isActive()
S
79 1 3
isDebugMode()
S
75 1 4
assertCouponIsValid()
S
78 1 3
showCheckoutButton()
S
81 1 3
getPluginVersion()
S
100 1 0
hasNewerVersion()
S
78 1 3
showProductButton()
S
81 1 3
getCartButtonPosition()
S
80 1 3
showCartButton()
S
81 1 3
getProductButtonPosition()
S
80 1 3
showPageHeader()
S
81 1 3
applyCoupon()
S
100 1 0
showAdminHeader()
S
81 1 3
insertRow()
S
100 1 0
showButton()
S
80 1 3