Total Complexity | 75 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 393 |
Lines of code | 226 |
Logical lines of code | 155 |
Comment lines | 79 |
Methods | 14 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
getStrikeoutPriceHtml() | 41 | 16 | 53 | |
update_custom_price_in_cart() | 44 | 13 | 45 | |
get_item_data() | 54 | 7 | 20 | |
add_custom_item_price() | 61 | 7 | 12 | |
get_products_in_cart() | 61 | 6 | 11 | |
add_cart_item_data() | 54 | 5 | 19 | |
calculate_discounted_total() | 57 | 5 | 16 | |
replace_cart_item_price() | 61 | 5 | 13 | |
product_image_on_cart() | 69 | 3 | 6 | |
update_cart_prices_after_remove() | 74 | 2 | 5 | |
update_cart_prices_after_quantity_update() | 74 | 2 | 5 | |
add_order_item_meta() | 64 | 2 | 9 | |
init() | 64 | 1 | 9 | |
cutNum() | 76 | 1 | 3 |