WC_Xendit_Invoice D

Total Complexity 228
Dependencies 11
Dependents 6
Total lines 1,707
Lines of code 1,267
Logical lines of code 605
Comment lines 180
Methods 32
Properties 30

Methods 32

Method Rating Maintainability Complexity Lines of code
map_payment_channel()
D
27
43 133
get_xendit_method_description()
D
35 33 70
admin_options()
B
26
7 305
process_payment()
B
31 19 109
process_admin_options()
A
42 15 48
init_activate_payment_channel()
A
45 14 42
validate_payment()
A
40 11 60
__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
is_test_mode()
S
70 3 6
payment_fields()
S
63 3 10
get_localized_error_message()
S
67 3 8
generate_api_key_settings_html()
S
64 3 9
update_public_keys()
S
66 3 9
instance()
S
72 2 6
generateStarChar()
S
68 2 7
onboarded_payment_channel()
S
68 2 7
get_xendit_method_title()
S
78 1 3
is_valid_for_use()
S
71 1 6
get_xendit_admin_description()
S
75 1 3
get_xendit_option()
S
80 1 3