-
Home
-
Simla.com
-
4.8.23
-
Code
-
Classes
- WC_Retailcrm_Loyalty
| Total Complexity |
103 |
| Dependencies |
9 |
| Dependents |
2 |
| Total lines |
564 |
| Lines of code |
395 |
| Logical lines of code |
237 |
| Comment lines |
12 |
| Methods |
20 |
| Properties |
5 |
Methods 20
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| createLoyaltyCoupon() |
B |
40 |
18 |
58 |
| getCreditBonuses() |
A |
43 |
13 |
47 |
| getDiscountLoyalty() |
A |
51 |
9 |
26 |
| getCrmItemsInfo() |
A |
51 |
8 |
26 |
| applyLoyaltyDiscount() |
S |
53 |
7 |
21 |
| registerCustomer() |
S |
48 |
6 |
34 |
| getForm() |
S |
49 |
6 |
30 |
| calculateDiscountLoyalty() |
S |
51 |
6 |
24 |
| calculateLoyaltyDiscount() |
S |
54 |
5 |
20 |
| getLoyaltyAccounts() |
S |
61 |
4 |
12 |
| activateLoyaltyCustomer() |
S |
58 |
3 |
16 |
| deleteLoyaltyCouponInOrder() |
S |
58 |
3 |
16 |
| isValidUser() |
S |
58 |
3 |
16 |
| clearLoyaltyCoupon() |
S |
64 |
3 |
10 |
| isValidOrder() |
S |
77 |
3 |
3 |
| deleteLoyaltyCoupon() |
S |
67 |
2 |
8 |
| getCouponLoyalty() |
S |
63 |
1 |
12 |
| __construct() |
S |
65 |
1 |
10 |
| isLoyaltyCoupon() |
S |
78 |
1 |
3 |
| getHtmlCreditBonuses() |
S |
77 |
1 |
3 |