WC_Gateway_Chip D

Total Complexity 194
Dependencies 11
Dependents 1
Total lines 1,271
Lines of code 1,013
Logical lines of code 509
Comment lines 5
Methods 45
Properties 22

Methods 45

Method Rating Maintainability Complexity Lines of code
process_payment()
C
28
25 127
handle_callback_order()
A
42 13 49
payment_fields()
A
48 13 29
auto_charge()
A
39 10 61
init_form_fields()
A
29 1 170
add_payment_method()
A
39 8 65
process_admin_options()
A
43 9 46
get_language()
A
51 10 29
handle_callback_token()
A
48 8 31
store_recurring_token()
A
47 7 33
handle_callback_event()
S
50 7 27
init_one_time_gateway()
S
58 7 15
bypass_chip()
S
62 7 10
check_order_status()
S
52 5 24
process_refund()
S
51 5 24
__construct()
S
46 3 40
payment_token_deleted()
S
56 4 17
handle_callback()
S
65 5 9
can_refund_order()
S
70 5 5
payment_complete()
S
59 4 13
add_payment_token()
S
60 3 13
change_failing_payment_method()
S
61 3 13
api()
S
64 2 11
list_fpx_b2b1_banks()
S
50 1 26
list_fpx_banks()
S
51 1 25
admin_notices()
S
68 2 9
get_due_timestamp()
S
68 2 7
add_actions()
S
63 2 10
get_public_key()
S
68 2 7
init_currency_check()
S
67 2 7
init_method_description()
S
67 2 7
get_timezone_list()
S
66 2 8
init_method_title()
S
67 2 7
delete_payment_token()
S
81 1 3
schedule_requery()
S
76 1 3
init_icon()
S
73 1 4
get_lock()
S
78 1 3
init_title()
S
79 1 3
release_lock()
S
78 1 3
log_order_info()
S
79 1 3
init_supports()
S
72 1 4
init_has_fields()
S
81 1 3
init_id()
S
79 1 3
get_icon()
S
69 1 5
validate_fields()
S
91 1 2