-
Home
-
XT Points & Rewards for WooCommerce
-
1.2.3
-
Code
-
Classes
- XT_Woo_Points_Rewards_Manager
| Total Complexity |
93 |
| Dependencies |
4 |
| Dependents |
6 |
| Total lines |
681 |
| Lines of code |
346 |
| Logical lines of code |
217 |
| Comment lines |
180 |
| Methods |
16 |
| Properties |
1 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| set_points_balance() |
B |
35 |
21 |
86 |
| decrease_points() |
B |
37 |
15 |
75 |
| event_type_description() |
A |
57 |
9 |
14 |
| calculate_points_modification_from_coupons() |
A |
51 |
8 |
28 |
| increase_points() |
S |
45 |
6 |
43 |
| get_users_points() |
S |
56 |
5 |
16 |
| get_all_users_points() |
S |
59 |
5 |
13 |
| get_points_earning_ratio() |
S |
60 |
5 |
12 |
| get_points_redemption_ratio() |
S |
60 |
5 |
12 |
| calculate_points() |
S |
63 |
5 |
10 |
| round_the_points() |
S |
60 |
3 |
15 |
| get_users_points_value() |
S |
75 |
2 |
4 |
| delete_user_points() |
S |
75 |
1 |
4 |
| get_found_user_points() |
S |
80 |
1 |
3 |
| calculate_points_value() |
S |
73 |
1 |
4 |
| calculate_points_for_discount() |
S |
67 |
1 |
7 |