-
Home
-
Simla.com
-
5.0.1
-
Code
-
Classes
- WC_Retailcrm_Loyalty
| Total Complexity |
110 |
| Dependencies |
9 |
| Dependents |
2 |
| Total lines |
620 |
| Lines of code |
432 |
| Logical lines of code |
264 |
| Comment lines |
15 |
| 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 |
| deleteLoyaltyCoupon() |
S |
67 |
2 |
8 |
| getCouponLoyalty() |
S |
59 |
1 |
15 |
| getLoyaltyHistory() |
S |
65 |
2 |
9 |
| getBonusDetails() |
S |
65 |
2 |
9 |
| __construct() |
S |
65 |
1 |
10 |
| isLoyaltyCoupon() |
S |
78 |
1 |
3 |
| getHtmlCreditBonuses() |
S |
77 |
1 |
3 |