-
Home
-
Retainful – WooCommerce Abandoned Cart, Newsletters, Email Marketing, Signup Forms and Automation
-
2.5.6
-
Code
-
Classes
- RetainfulAddToCartAddon
Total Complexity |
110 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
1,079 |
Lines of code |
955 |
Logical lines of code |
383 |
Comment lines |
77 |
Methods |
22 |
Properties |
0 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
premiumAddonTabContent() |
D |
13 |
24 |
600 |
setGuestEmailSession() |
B |
38 |
17 |
66 |
getPopupTemplate() |
A |
42 |
13 |
45 |
siteInit() |
A |
45 |
11 |
40 |
addSiteScripts() |
S |
51 |
6 |
23 |
getMailCouponContent() |
S |
57 |
4 |
16 |
applyCouponAutomatically() |
S |
66 |
4 |
8 |
getMailContent() |
S |
63 |
4 |
9 |
getPopupContent() |
S |
63 |
4 |
9 |
addSiteInstantCouponScripts() |
S |
61 |
3 |
12 |
getMailHeaders() |
S |
52 |
2 |
22 |
productAddedToCart() |
S |
70 |
3 |
6 |
addToCartPopup() |
S |
59 |
2 |
13 |
sendEmail() |
S |
60 |
2 |
12 |
init() |
S |
61 |
2 |
12 |
enqueue_script() |
S |
100 |
1 |
26 |
setupAdminScripts() |
S |
70 |
2 |
6 |
popupClosed() |
S |
71 |
2 |
5 |
getCouponPopupContent() |
S |
62 |
1 |
11 |
getDefaultEmailTemplate() |
S |
80 |
1 |
3 |
getDefaultPopupTemplate() |
S |
80 |
1 |
3 |
__construct() |
S |
66 |
1 |
8 |