-
Home
-
Simla.com
-
4.8.2
-
Code
-
Classes
- WC_Retailcrm_Loyalty
| Total Complexity |
99 |
| Dependencies |
7 |
| Dependents |
2 |
| Total lines |
520 |
| Lines of code |
357 |
| Logical lines of code |
225 |
| 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 |
52 |
8 |
23 |
| applyLoyaltyDiscount() |
S |
53 |
7 |
21 |
| calculateDiscountLoyalty() |
S |
52 |
6 |
22 |
| getForm() |
S |
54 |
5 |
21 |
| calculateLoyaltyDiscount() |
S |
54 |
5 |
20 |
| getLoyaltyAccounts() |
S |
61 |
4 |
12 |
| registerCustomer() |
S |
56 |
3 |
18 |
| deleteLoyaltyCouponInOrder() |
S |
58 |
3 |
16 |
| activateLoyaltyCustomer() |
S |
61 |
3 |
12 |
| isValidUser() |
S |
61 |
3 |
12 |
| 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 |