Total Complexity | 113 |
Dependencies | 0 |
Dependents | 3 |
Total lines | 359 |
Lines of code | 239 |
Logical lines of code | 145 |
Comment lines | 64 |
Methods | 15 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
filter_cart_products() | 36 | 53 | 65 | |
filter_cart_items() | 52 | 11 | 24 | |
get_cart_quantities_based_on() | 49 | 10 | 32 | |
get_products() | 57 | 6 | 18 | |
get_items_subtotal() | 59 | 5 | 14 | |
__call() | 68 | 4 | 7 | |
get_products_quantities() | 64 | 4 | 10 | |
products_exists_in_cart() | 61 | 3 | 14 | |
categories_exists_in_cart() | 61 | 3 | 14 | |
get_product_price() | 63 | 3 | 11 | |
__get() | 67 | 3 | 8 | |
get_items_quantities() | 64 | 3 | 10 | |
__construct() | 78 | 2 | 3 | |
display_prices_including_tax() | 69 | 2 | 6 | |
get_cart() | 81 | 1 | 3 |