WC_Xendit_CC D

Total Complexity 212
Dependencies 14
Dependents 2
Total lines 1,588
Lines of code 916
Logical lines of code 552
Comment lines 393
Methods 36
Properties 23

Methods 36

Method Rating Maintainability Complexity Lines of code
process_payment_via_xendit_invoice()
B
35 16 82
payment_fields()
A
42 15 46
validate_payment()
A
35 12 87
process_refund()
A
40 13 59
process_payment()
A
42 13 50
process_response()
A
45 12 37
generate_payment_request()
A
42 10 46
__construct()
A
39 9 59
get_localized_error_message()
A
52 11 24
init_icon_settings()
A
52 11 22
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
handle_woocommerce_get_customer_payment_tokens()
S
58 6 15
check_gateway_status()
S
56 5 19
set_subscription_items()
S
60 5 13
generate_xendit_params()
S
50 4 26
complete_cc_payment()
S
51 4 26
add_payment_method()
S
52 4 24
save_source()
S
67 4 8
show_add_new_card()
S
73 4 5
admin_options()
S
54 1 42
get_icon()
S
60 3 11
get_cc_settings()
S
66 3 8
send_failed_order_email()
S
70 3 6
save_payment_token()
S
59 2 13
get_customer_details()
S
52 1 26
get_woocommerce_version()
S
74 2 5
instance()
S
72 2 6
show_checkout_error()
S
68 2 7
get_order_source()
S
70 2 6
retry_process_payment()
S
74 1 4
init_form_fields()
S
79 1 3
get_frontend_error_message()
S
65 1 9
is_valid_for_use()
S
71 1 6