SA_Cart_Public D

Total Complexity 153
Dependencies 5
Dependents 3
Total lines 1,013
Lines of code 677
Logical lines of code 348
Comment lines 238
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
saveUserData()
D
28
31 123
restoreInputData()
D
34 33 76
saveLoggedInUserData()
B
31 17 122
attributeSlugToTitle()
A
44 14 46
read_cart()
S
41 5 56
displayExitIntentForm()
S
58 6 15
enqueueScripts()
S
52 5 24
updateCartData()
S
48 4 36
buildExitIntentOutput()
S
51 4 29
exitIntentEnabled()
S
60 5 13
updateLoggedCustomerId()
S
55 4 22
get_exit_intent_template_path()
S
57 4 18
getTemplate()
S
62 4 11
addAdditionalScriptsOnCheckout()
S
56 3 18
current_session_exist_in_db()
S
59 2 16
decrease_captured_abandoned_cart_count()
S
66 3 9
removeExitIntentForm()
S
65 3 10
enqueueStyles()
S
72 2 5
delete_duplicate_carts()
S
60 1 15
increase_captured_abandoned_cart_count()
S
75 1 4
exit_intent_type()
S
78 1 4
__construct()
S
74 1 5