WC_Xendit_Invoice D

Total Complexity 231
Dependencies 12
Dependents 5
Total lines 1,695
Lines of code 1,269
Logical lines of code 607
Comment lines 173
Methods 33
Properties 26

Methods 33

Method Rating Maintainability Complexity Lines of code
map_payment_channel()
D
28
42 129
get_xendit_method_description()
C
36 32 68
admin_options()
B
26
7 305
process_payment()
B
31 19 108
validate_payment()
A
38 14 67
process_admin_options()
A
42 15 48
init_activate_payment_channel()
A
45 14 42
__construct()
A
42 8 45
check_gateway_status()
A
49 8 33
init_form_fields()
A
32 1 131
custome_cancel_unpaid_orders()
S
48 6 35
expire_invoice_when_order_cancelled()
S
54 7 20
has_payment_channel_enabled()
S
55 7 18
get_xendit_connection()
S
55 5 20
get_icon()
S
58 5 13
initialize_xendit_onboarding_info()
S
45 2 45
validate_sub_account()
S
60 4 13
should_onboard()
S
63 4 11
receipt_page()
S
60 3 12
show_merchant_info()
S
54 2 26
generate_api_key_settings_html()
S
64 3 9
get_localized_error_message()
S
67 3 8
is_test_mode()
S
70 3 6
update_public_keys()
S
66 3 9
payment_fields()
S
63 3 10
generateStarChar()
S
68 2 7
instance()
S
72 2 6
onboarded_payment_channel()
S
68 2 7
get_xendit_admin_description()
S
75 1 3
is_valid_for_use()
S
71 1 6
get_xendit_option()
S
80 1 3
payment_scripts()
S
77 1 3
get_xendit_method_title()
S
78 1 3