WC_Xendit_PG_Helper A

Total Complexity 63
Dependencies 4
Dependents 4
Total lines 386
Lines of code 208
Logical lines of code 115
Comment lines 109
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
generate_items_and_customer()
A
39 12 65
validate_form()
A
52 8 22
extract_enabled_payments()
S
55 6 19
generate_invoice_description()
S
58 5 14
complete_payment()
S
61 4 12
has_subscription()
S
76 4 3
is_advanced_order_number_active()
S
65 3 9
maybe_change_subscription_payment_method()
S
70 3 7
generate_external_id()
S
65 3 9
is_deposit_order()
S
70 2 6
order_contains_subscription()
S
72 2 6
is_subscription()
S
71 2 6
is_changing_payment_method_for_subscription()
S
70 2 6
is_subscriptions_enabled()
S
77 2 3
build_order_notes()
S
62 2 10
generate_setting_key_by_payment_class()
S
74 1 4
cancel_order()
S
76 1 4
get_order_id()
S
80 1 3