-
Home
-
XT Points & Rewards for WooCommerce
-
1.7.2
-
Code
-
Classes
- XT_Woo_Points_Rewards_Manager
| Total Complexity |
86 |
| Dependencies |
4 |
| Dependents |
6 |
| Total lines |
604 |
| Lines of code |
368 |
| Logical lines of code |
189 |
| Comment lines |
161 |
| Methods |
18 |
| Properties |
2 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| decrease_points() |
B |
37 |
15 |
80 |
| event_type_description() |
A |
46 |
14 |
35 |
| calculate_points_modification_from_coupons() |
A |
51 |
8 |
28 |
| increase_points() |
A |
43 |
6 |
57 |
| set_points_balance() |
S |
52 |
6 |
25 |
| get_users_points() |
S |
55 |
5 |
18 |
| get_all_users_points() |
S |
57 |
5 |
17 |
| get_points_earning_ratio() |
S |
60 |
5 |
12 |
| get_points_redemption_ratio() |
S |
60 |
5 |
12 |
| calculate_points() |
S |
62 |
5 |
11 |
| round_the_points() |
S |
60 |
3 |
15 |
| get_event_types() |
S |
53 |
2 |
24 |
| get_users_points_value() |
S |
75 |
2 |
4 |
| disable_emails() |
S |
80 |
1 |
3 |
| delete_user_points() |
S |
71 |
1 |
6 |
| get_found_user_points() |
S |
80 |
1 |
3 |
| calculate_points_value() |
S |
64 |
1 |
10 |
| calculate_points_for_discount() |
S |
65 |
1 |
8 |