Total Complexity | 127 |
Dependencies | 0 |
Dependents | 3 |
Total lines | 424 |
Lines of code | 279 |
Logical lines of code | 169 |
Comment lines | 74 |
Methods | 16 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
filter_cart_products() | 36 | 53 | 65 | |
get_cart_quantities_based_on() | 45 | 13 | 44 | |
filter_cart_items() | 50 | 14 | 26 | |
sort_cart_items() | 51 | 8 | 26 | |
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 |