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
canLoad()
S
67 3 7
startSession()
S
66 3 8
loadLanguage()
S
65 3 9
getVersion()
S
71 2 5
uninstall()
S
68 2 7
getButton()
S
75 2 4
getCartButton()
S
70 2 6
getPageHeader()
S
69 2 7
getAdminHeader()
S
71 2 6
getDocumentationPage()
S
64 2 10
dropTable()
S
68 2 6
isFirstCall()
S
70 2 6
UncaughtExceptionHandler()
S
72 2 6
executeNonQuery()
S
100 1 0
getRow()
S
100 1 0
getTableName()
S
100 1 0
setConfigValue()
S
100 1 0
getConfigValue()
S
100 1 0
getCurrentProductDetails()
S
82 1 3
isSingleProduct()
S
100 1 0
isOutOfStock()
S
82 1 3
getButtonCallbackURL()
S
100 1 0
createUrl()
S
100 1 0
loadSessionData()
S
100 1 0
getSecretKey()
S
100 1 0
insertRow()
S
100 1 0
applyCoupon()
S
100 1 0
getProductButtonPosition()
S
80 1 3
getCartButtonPosition()
S
80 1 3
getPluginVersion()
S
100 1 0
isDebugMode()
S
75 1 4
hasNewerVersion()
S
78 1 3
deactivate()
S
71 1 5
getAppKey()
S
80 1 3
getClientId()
S
80 1 3
isActive()
S
79 1 3
assertCouponIsValid()
S
78 1 3
showCheckoutButton()
S
81 1 3
showButton()
S
80 1 3
showProductButton()
S
81 1 3
showCartButton()
S
81 1 3
showPageHeader()
S
81 1 3
showAdminHeader()
S
81 1 3
showAdminPage()
S
79 1 3
showButtonCustomizationPage()
S
79 1 3
getUploadDir()
S
79 1 3
showDocumentationPage()
S
79 1 3
showUpdateNotification()
S
81 1 3
getUpdateNotification()
S
80 1 3
saveCoupon()
S
91 1 2
getSessionId()
S
82 1 3
existsTable()
S
74 1 4