WC_Gateway_Chip D

Total Complexity 275
Dependencies 14
Dependents 1
Total lines 1,638
Lines of code 1,272
Logical lines of code 660
Comment lines 29
Methods 53
Properties 23

Methods 53

Method Rating Maintainability Complexity Lines of code
process_payment()
D
23
39 167
payment_fields()
B
43 20 39
auto_charge()
A
36 14 71
process_payment_method_change()
A
37 14 70
handle_payment_method_change()
A
40 15 53
handle_callback_order()
A
41 14 50
process_admin_options()
A
41 11 51
init_form_fields()
A
29
1 176
get_language()
A
51 10 29
handle_change_payment_method_shortcode()
A
52 10 22
store_recurring_token()
A
46 8 36
handle_callback_token()
A
48 8 31
add_payment_method()
A
41 6 58
bypass_chip()
A
59 9 12
check_order_status()
A
49 7 33
handle_callback_event()
S
50 7 27
init_one_time_gateway()
S
58 7 15
handle_callback()
S
62 7 11
process_refund()
S
51 5 24
payment_complete()
S
58 5 14
__construct()
S
45 3 42
payment_token_deleted()
S
56 4 17
add_payment_token()
S
58 4 16
can_refund_order()
S
70 5 5
maybe_dont_update_payment_method()
S
63 4 10
change_failing_payment_method()
S
61 3 13
api()
S
64 2 11
list_fpx_b2b1_banks()
S
50 1 26
add_actions()
S
61 2 11
list_fpx_banks()
S
51 1 25
init_currency_check()
S
67 2 7
maybe_hide_add_new_payment_method()
S
71 2 6
get_timezone_list()
S
66 2 8
get_public_key()
S
68 2 7
admin_notices()
S
68 2 9
get_due_timestamp()
S
68 2 7
validate_fields()
S
91 1 2
list_razer_ewallets()
S
64 1 9
init_method_description()
S
78 1 3
init_title()
S
79 1 3
init_icon()
S
73 1 4
init_method_title()
S
78 1 3
schedule_requery()
S
76 1 3
delete_payment_token()
S
81 1 3
init_supports()
S
72 1 4
init_has_fields()
S
81 1 3
add_filters()
S
74 1 4
get_icon()
S
69 1 5
release_lock()
S
78 1 3
get_lock()
S
78 1 3
log_order_info()
S
79 1 3
init_id()
S
79 1 3
filter_customer_full_name()
S
71 1 5