Total Complexity | 46 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 351 |
Lines of code | 150 |
Logical lines of code | 96 |
Comment lines | 133 |
Methods | 12 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
calculate_points_on_cart() | 51 | 10 | 23 | |
add_order_points() | 52 | 5 | 23 | |
calculate_product_points() | 57 | 5 | 17 | |
remove_points() | 56 | 5 | 17 | |
get_point_earned() | 56 | 5 | 16 | |
get_conversion_option() | 60 | 5 | 12 | |
calculate_product_points_in_order() | 57 | 4 | 15 | |
get_instance() | 72 | 2 | 6 | |
get_point_earned_from_price() | 71 | 2 | 5 | |
__construct() | 66 | 1 | 8 | |
save_points_earned_from_cart() | 72 | 1 | 5 | |
add_points() | 78 | 1 | 3 |