-
Home
-
Retainful – WooCommerce Abandoned Cart, Newsletters, Email Marketing, Signup Forms and Automation
-
2.6.6
-
Code
-
Classes
- RetainfulAddToCartAddon
| Total Complexity |
112 |
| Dependencies |
2 |
| Dependents |
0 |
| Total lines |
1,107 |
| Lines of code |
984 |
| Logical lines of code |
392 |
| Comment lines |
74 |
| Methods |
23 |
| Properties |
0 |
Methods 23
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| premiumAddonTabContent() |
D |
12 |
26 |
630 |
| setGuestEmailSession() |
B |
39 |
16 |
60 |
| getPopupTemplate() |
A |
41 |
13 |
47 |
| siteInit() |
A |
46 |
11 |
36 |
| addSiteScripts() |
S |
49 |
6 |
27 |
| 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 |
| init() |
S |
61 |
2 |
12 |
| sendEmail() |
S |
60 |
2 |
12 |
| enqueue_script() |
S |
100 |
1 |
26 |
| setupAdminScripts() |
S |
70 |
2 |
6 |
| popupClosed() |
S |
71 |
2 |
5 |
| getCouponPopupContent() |
S |
62 |
1 |
11 |
| __construct() |
S |
66 |
1 |
8 |
| getAtcPopupUrl() |
S |
79 |
1 |
3 |
| getDefaultEmailTemplate() |
S |
80 |
1 |
3 |
| getDefaultPopupTemplate() |
S |
80 |
1 |
3 |