-
Home
-
ShareYourCart
-
1.11.7 (latest)
-
Code
-
Classes
- ShareYourCartWooCommerce
Total Complexity |
49 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
318 |
Lines of code |
214 |
Logical lines of code |
125 |
Comment lines |
46 |
Methods |
18 |
Properties |
2 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
buttonCallback() |
A |
49 |
8 |
28 |
buttonCallback20() |
A |
49 |
7 |
31 |
saveCoupon() |
S |
48 |
4 |
35 |
_getProductDetails20() |
S |
53 |
4 |
22 |
_getProductDetails() |
S |
54 |
4 |
21 |
processInit() |
S |
62 |
4 |
12 |
_loadWooCommerce() |
S |
67 |
3 |
8 |
pluginsLoadedHook() |
S |
64 |
2 |
9 |
getProductButtonPosition() |
S |
75 |
2 |
4 |
getCartButtonPosition() |
S |
75 |
2 |
4 |
getButtonCallbackURL() |
S |
66 |
2 |
8 |
_saveCouponPost() |
S |
59 |
1 |
14 |
loadSessionData() |
S |
83 |
1 |
3 |
isDebugMode() |
S |
82 |
1 |
3 |
isSingleProduct() |
S |
80 |
1 |
3 |
getSecretKey() |
S |
82 |
1 |
3 |
isCartActive() |
S |
78 |
1 |
3 |
applyCoupon() |
S |
83 |
1 |
3 |