ShareYourCartTheCartPress S

Total Complexity 34
Dependencies 2
Dependents 0
Total lines 182
Lines of code 115
Logical lines of code 67
Comment lines 50
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
buttonCallback()
S
47 6 35
saveCoupon()
S
56 5 18
init()
S
64 4 10
getCurrentProductDetails()
S
59 3 13
isSingleProduct()
S
74 3 4
isCartActive()
S
74 2 4
getProductButtonPosition()
S
75 2 4
getCartButtonPosition()
S
75 2 4
pluginsLoadedHook()
S
67 2 7
getButtonCallbackURL()
S
67 2 8
getSecretKey()
S
82 1 3
loadSessionData()
S
91 1 2
applyCoupon()
S
79 1 3