Total Complexity | 59 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 399 |
Lines of code | 259 |
Logical lines of code | 177 |
Comment lines | 63 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
apply_gift_card_to_cart_impl() | 37 | 14 | 74 | |
woocommerce_possibly_hold_order() | 47 | 9 | 33 | |
__construct() | 47 | 7 | 34 | |
woocommerce_after_calculate_totals() | 55 | 7 | 19 | |
woocommerce_admin_order_totals_after_tax() | 49 | 6 | 34 | |
woocommerce_redeem_gift_card() | 55 | 4 | 18 | |
woocommerce_get_order_item_totals() | 57 | 3 | 16 | |
woocommerce_checkout_create_order() | 63 | 3 | 11 | |
woocommerce_order_after_calculate_totals() | 70 | 2 | 6 | |
woocommerce_cart_emptied() | 73 | 2 | 5 | |
apply_gift_card_to_cart() | 71 | 1 | 6 | |
cart_scripts() | 77 | 1 | 3 |