WC_Xendit_CC D

Total Complexity 211
Dependencies 14
Dependents 2
Total lines 1,586
Lines of code 911
Logical lines of code 552
Comment lines 392
Methods 37
Properties 23

Methods 37

Method Rating Maintainability Complexity Lines of code
process_payment_via_xendit_invoice()
B
35 16 82
validate_payment()
A
35 13 87
payment_fields()
A
42 15 46
process_refund()
A
40 13 59
process_payment()
A
42 13 50
process_response()
A
46 12 33
__construct()
A
39 9 58
get_localized_error_message()
A
52 11 24
init_icon_settings()
A
53 11 21
generate_payment_request()
A
42 9 47
process_change_subscription_payment_method()
A
46 8 40
process_payment_without_authenticate()
A
45 8 39
payment_scripts()
S
56 7 17
get_source()
S
53 6 20
check_gateway_status()
S
56 5 19
save_source()
S
64 6 9
generate_xendit_params()
S
50 4 26
complete_cc_payment()
S
51 4 25
add_payment_method()
S
52 4 24
get_order_source()
S
59 4 14
show_add_new_card()
S
73 4 5
admin_options()
S
54 1 42
get_icon()
S
60 3 11
send_failed_order_email()
S
70 3 6
get_cc_settings()
S
66 3 8
set_subscription_items()
S
66 3 8
save_payment_token()
S
59 2 13
get_customer_details()
S
52 1 26
instance()
S
72 2 6
get_woocommerce_version()
S
74 2 5
show_checkout_error()
S
68 2 7
get_is_changing_order_status()
S
65 2 9
retry_process_payment()
S
74 1 4
init_form_fields()
S
79 1 3
is_old_woocommerce_version()
S
79 1 3
get_frontend_error_message()
S
65 1 9
is_valid_for_use()
S
71 1 6