WC_Xendit_PG_Helper A

Total Complexity 53
Dependencies 5
Dependents 3
Total lines 332
Lines of code 200
Logical lines of code 102
Comment lines 72
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
generate_items_and_customer()
A
40 10 60
validate_form()
A
52 8 22
generate_customer()
S
49 4 31
complete_payment()
S
57 4 15
process_customer_object()
S
58 3 15
has_subscription()
S
76 4 3
get_product_price()
S
70 3 6
maybe_change_subscription_payment_method()
S
70 3 7
get_order_id()
S
78 2 3
build_order_notes()
S
62 2 10
is_subscriptions_enabled()
S
77 2 3
is_changing_payment_method_for_subscription()
S
70 2 6
order_contains_subscription()
S
72 2 6
is_subscription()
S
71 2 6
is_wc_lt()
S
78 1 3
cancel_order()
S
76 1 4