YITH_WC_Points_Rewards_Earning S

Total Complexity 46
Dependencies 2
Dependents 1
Total lines 349
Lines of code 150
Logical lines of code 96
Comment lines 131
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
calculate_points_on_cart()
A
51 10 23
add_order_points()
S
52 5 23
calculate_product_points()
S
57 5 17
remove_points()
S
56 5 17
get_point_earned()
S
56 5 16
get_conversion_option()
S
60 5 12
calculate_product_points_in_order()
S
57 4 15
get_instance()
S
72 2 6
get_point_earned_from_price()
S
71 2 5
__construct()
S
66 1 8
save_points_earned_from_cart()
S
72 1 5
add_points()
S
78 1 3