-
Home
-
XT Points & Rewards for WooCommerce
-
1.3.5
-
Code
-
Classes
- XT_Woo_Points_Rewards_Manager
Total Complexity |
92 |
Dependencies |
4 |
Dependents |
6 |
Total lines |
668 |
Lines of code |
339 |
Logical lines of code |
211 |
Comment lines |
177 |
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 |
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() |
S |
63 |
5 |
10 |
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 |
calculate_points_value() |
S |
73 |
1 |
4 |
calculate_points_for_discount() |
S |
67 |
1 |
7 |