WC_Xendit_CC D

Total Complexity 211
Dependencies 12
Dependents 2
Total lines 1,608
Lines of code 916
Logical lines of code 575
Comment lines 397
Methods 37
Properties 26

Methods 37

Method Rating Maintainability Complexity Lines of code
process_payment_via_xendit_invoice()
B
35 15 79
validate_payment()
A
35 13 89
process_payment()
A
39 14 62
payment_fields()
A
42 15 46
process_refund()
A
46 12 35
process_response()
A
46 12 33
__construct()
A
38 10 62
payment_scripts()
A
44 11 39
generate_payment_request()
A
42 9 47
process_change_subscription_payment_method()
A
45 9 40
get_localized_error_message()
A
54 10 22
complete_cc_payment()
A
48 7 31
process_payment_without_authenticate()
S
47 6 33
get_source()
S
53 6 20
get_icon()
S
51 5 23
check_gateway_status()
S
56 5 19
save_source()
S
64 6 9
add_payment_method()
S
52 4 24
set_current_currency_min_max_amount()
S
57 4 20
get_order_source()
S
59 4 14
show_add_new_card()
S
73 4 5
update_order_status()
S
65 4 9
admin_options()
S
54 1 42
get_cc_settings()
S
66 3 8
send_failed_order_email()
S
70 3 6
set_subscription_items()
S
66 3 8
save_payment_token()
S
59 2 13
get_customer_details()
S
52 1 26
show_checkout_error()
S
68 2 7
get_woocommerce_version()
S
74 2 5
get_is_changing_order_status()
S
65 2 9
instance()
S
72 2 6
is_valid_for_use()
S
71 1 6
is_old_woocommerce_version()
S
79 1 3
retry_process_payment()
S
74 1 4
init_form_fields()
S
79 1 3
get_frontend_error_message()
S
65 1 9