-
Home
-
XT Points & Rewards for WooCommerce
-
1.3.8
-
Code
-
Classes
- XT_Woo_Points_Rewards_Manager
Total Complexity |
101 |
Dependencies |
4 |
Dependents |
6 |
Total lines |
707 |
Lines of code |
372 |
Logical lines of code |
235 |
Comment lines |
180 |
Methods |
16 |
Properties |
1 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
set_points_balance() |
B |
35 |
21 |
85 |
decrease_points() |
B |
38 |
15 |
73 |
event_type_description() |
A |
57 |
9 |
14 |
calculate_points_modification_from_coupons() |
A |
51 |
8 |
28 |
calculate_points() |
A |
54 |
8 |
21 |
increase_points() |
S |
46 |
6 |
41 |
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_for_discount() |
S |
55 |
4 |
18 |
calculate_points_value() |
S |
58 |
4 |
15 |
get_users_points() |
S |
58 |
4 |
14 |
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 |