WC_Xendit_Invoice D

Total Complexity 206
Dependencies 10
Dependents 4
Total lines 1,489
Lines of code 1,133
Logical lines of code 547
Comment lines 137
Methods 26
Properties 23

Methods 26

Method Rating Maintainability Complexity Lines of code
map_payment_channel()
D
28
42 129
get_xendit_method_description()
C
36 32 68
admin_options()
C
24
10 322
process_payment()
B
31 19 108
validate_payment()
A
38 14 67
init_activate_payment_channel()
A
46 13 39
process_admin_options()
A
48 10 30
__construct()
A
42 8 45
check_gateway_status()
A
49 8 33
init_form_fields()
A
33 1 127
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_icon()
S
58 5 13
should_onboard()
S
63 4 11
receipt_page()
S
60 3 12
get_localized_error_message()
S
67 3 8
payment_fields()
S
63 3 10
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
payment_scripts()
S
77 1 3