Total Complexity | 53 |
Dependencies | 0 |
Dependents | 0 |
Total lines | 179 |
Lines of code | 99 |
Logical lines of code | 75 |
Comment lines | 69 |
Methods | 8 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
validate_on_add_to_cart_quantity_by_mode() | 54 | 16 | 17 | |
get_cart_item_quantities_by_mode() | 49 | 14 | 28 | |
save_quantities_item_qty_by_mode() | 52 | 14 | 20 | |
__construct() | 57 | 3 | 15 | |
handle_totals_data_on_order_mode() | 71 | 2 | 6 | |
handle_orders_data_quantity_increase_qty_on_order_mode() | 72 | 2 | 6 | |
validate_on_add_to_cart_quantity_do_add() | 78 | 1 | 4 | |
cart_item_amount() | 80 | 1 | 3 |