Total Complexity | 58 |
Dependencies | 4 |
Dependents | 3 |
Total lines | 292 |
Lines of code | 177 |
Logical lines of code | 93 |
Comment lines | 64 |
Methods | 15 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
generate_items_and_customer() | 41 | 18 | 47 | |
validate_form() | 52 | 8 | 22 | |
generate_customer() | 51 | 4 | 27 | |
complete_payment() | 57 | 4 | 15 | |
process_customer_object() | 58 | 3 | 15 | |
has_subscription() | 76 | 4 | 3 | |
maybe_change_subscription_payment_method() | 70 | 3 | 7 | |
get_order_id() | 78 | 2 | 3 | |
build_order_notes() | 62 | 2 | 10 | |
is_subscriptions_enabled() | 77 | 2 | 3 | |
is_changing_payment_method_for_subscription() | 70 | 2 | 6 | |
order_contains_subscription() | 72 | 2 | 6 | |
is_subscription() | 71 | 2 | 6 | |
is_wc_lt() | 78 | 1 | 3 | |
cancel_order() | 76 | 1 | 4 |