ShareYourCartWPStoreCart A

Total Complexity 55
Dependencies 3
Dependents 0
Total lines 369
Lines of code 216
Logical lines of code 133
Comment lines 91
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
loadSessionData()
A
51 12 24
buttonCallback()
A
42 10 50
genericHook()
S
51 4 28
saveCoupon()
S
47 3 34
install()
S
56 4 18
isSingleProduct()
S
63 5 10
processInit()
S
63 4 12
getButtonCallbackURL()
S
62 3 11
isCartActive()
S
72 2 5
pluginsLoadedHook()
S
67 2 7
getProductButtonPosition()
S
75 2 4
getCartButtonPosition()
S
75 2 4
getSecretKey()
S
82 1 3
applyCoupon()
S
70 1 6