-
Home
-
ShareYourCart
-
1.11.7 (latest)
-
Code
-
Classes
- ShareYourCartWPECommerce
Total Complexity |
40 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
305 |
Lines of code |
169 |
Logical lines of code |
83 |
Comment lines |
92 |
Methods |
13 |
Properties |
0 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
buttonCallback() |
A |
40 |
10 |
59 |
saveCoupon() |
S |
47 |
6 |
35 |
processInit() |
S |
63 |
4 |
12 |
pluginsLoadedHook() |
S |
62 |
3 |
10 |
isSingleProduct() |
S |
74 |
3 |
4 |
isCartActive() |
S |
72 |
2 |
5 |
getProductButtonPosition() |
S |
75 |
2 |
4 |
getCartButtonPosition() |
S |
75 |
2 |
4 |
getCurrentProductDetails() |
S |
63 |
2 |
10 |
getButtonCallbackURL() |
S |
65 |
2 |
9 |
loadSessionData() |
S |
65 |
2 |
10 |
getSecretKey() |
S |
82 |
1 |
3 |
applyCoupon() |
S |
76 |
1 |
4 |