WC_Xendit_Invoice D

Total Complexity 329
Dependencies 11
Dependents 6
Total lines 1,975
Lines of code 1,526
Logical lines of code 855
Comment lines 181
Methods 33
Properties 30

Methods 33

Method Rating Maintainability Complexity Lines of code
map_payment_channel()
D
11
91 277
get_xendit_method_description()
D
18
81 166
admin_options()
B
26
7 305
process_payment()
B
31 19 110
process_admin_options()
B
42 16 48
validate_payment()
A
38 13 71
init_activate_payment_channel()
A
45 14 42
__construct()
A
42 8 46
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
initialize_xendit_onboarding_info()
S
45 2 45
validate_sub_account()
S
60 4 13
get_icon()
S
59 4 13
should_onboard()
S
63 4 11
receipt_page()
S
60 3 12
show_merchant_info()
S
54 2 26
get_localized_error_message()
S
67 3 8
is_test_mode()
S
70 3 6
update_public_keys()
S
66 3 9
generate_api_key_settings_html()
S
64 3 9
payment_fields()
S
63 3 10
instance()
S
72 2 6
generateStarChar()
S
68 2 7
get_success_redirect_url()
S
67 2 7
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
get_xendit_method_title()
S
78 1 3