-
Home
-
Woocommerce Simla.com
-
4.8.32 (latest)
-
Code
-
Classes
- WC_Retailcrm_Loyalty
Total Complexity |
110 |
Dependencies |
9 |
Dependents |
2 |
Total lines |
614 |
Lines of code |
429 |
Logical lines of code |
262 |
Comment lines |
13 |
Methods |
22 |
Properties |
5 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
createLoyaltyCoupon() |
B |
39 |
18 |
59 |
getCreditBonuses() |
A |
42 |
14 |
51 |
getDiscountLoyalty() |
A |
50 |
9 |
28 |
getCrmItemsInfo() |
A |
51 |
8 |
26 |
getForm() |
A |
47 |
7 |
35 |
applyLoyaltyDiscount() |
S |
53 |
7 |
21 |
registerCustomer() |
S |
48 |
6 |
34 |
calculateDiscountLoyalty() |
S |
51 |
6 |
24 |
calculateLoyaltyDiscount() |
S |
54 |
5 |
20 |
deleteLoyaltyCouponInOrder() |
S |
55 |
4 |
20 |
getLoyaltyAccounts() |
S |
61 |
4 |
12 |
activateLoyaltyCustomer() |
S |
58 |
3 |
16 |
isValidUser() |
S |
58 |
3 |
16 |
clearLoyaltyCoupon() |
S |
64 |
3 |
10 |
isValidOrder() |
S |
77 |
3 |
3 |
getLoyaltyHistory() |
S |
65 |
2 |
9 |
getBonusDetails() |
S |
65 |
2 |
9 |
deleteLoyaltyCoupon() |
S |
67 |
2 |
8 |
getCouponLoyalty() |
S |
63 |
1 |
12 |
isLoyaltyCoupon() |
S |
78 |
1 |
3 |
getHtmlCreditBonuses() |
S |
77 |
1 |
3 |
__construct() |
S |
65 |
1 |
10 |