WC_Xendit_CC D

Total Complexity 205
Dependencies 14
Dependents 2
Total lines 1,590
Lines of code 922
Logical lines of code 565
Comment lines 388
Methods 35
Properties 24

Methods 35

Method Rating Maintainability Complexity Lines of code
process_payment_via_xendit_invoice()
B
35 16 81
process_payment()
B
38 15 68
payment_fields()
A
42 15 46
validate_payment()
A
36 12 84
process_refund()
A
40 13 59
process_response()
A
46 12 33
__construct()
A
39 9 58
get_localized_error_message()
A
52 11 24
payment_scripts()
A
44 10 39
generate_payment_request()
A
42 9 47
process_change_subscription_payment_method()
A
45 9 40
process_payment_without_authenticate()
A
45 8 39
get_source()
S
53 6 20
get_icon()
S
51 5 23
save_source()
S
64 6 9
complete_cc_payment()
S
51 4 25
add_payment_method()
S
52 4 24
set_current_currency_min_max_amount()
S
57 4 20
check_gateway_status()
S
59 4 15
get_order_source()
S
59 4 14
show_add_new_card()
S
73 4 5
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
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
get_frontend_error_message()
S
65 1 9
init_form_fields()
S
79 1 3
is_old_woocommerce_version()
S
79 1 3