WC_Gateway_Chip D

Total Complexity 418
Dependencies 18
Dependents 1
Total lines 2,435
Lines of code 1,866
Logical lines of code 980
Comment lines 78
Methods 71
Properties 38

Methods 71

Method Rating Maintainability Complexity Lines of code
process_payment()
D
17
56 227
payment_fields()
C
39 27 53
handle_callback_order()
C
36 24 69
bypass_chip()
B
45 19 36
auto_charge()
B
35 15 76
process_payment_method_change()
A
36 14 72
handle_payment_method_change()
A
40 15 53
validate_fields()
A
51 17 21
process_pre_order_payments()
A
35 13 78
init_form_fields()
A
24
1 246
get_language()
A
51 10 29
handle_change_payment_method_shortcode()
A
52 10 22
process_admin_options()
A
45 8 39
store_recurring_token()
A
46 8 36
handle_callback_token()
A
48 8 30
add_payment_method()
A
40 6 60
check_order_status()
A
49 7 33
handle_callback_event()
S
50 7 27
list_razer_ewallets()
S
52 7 24
meta_box_scripts()
S
54 7 19
init_one_time_gateway()
S
58 7 15
form()
S
44 5 45
handle_callback()
S
62 7 11
maybe_delete_payment_token()
S
62 7 11
metabox_ajax_handler()
S
52 6 23
add_item_order_fee()
S
49 5 31
filter_non_available_fpx()
S
61 6 12
process_refund()
S
51 5 24
load_metabox_info()
S
52 5 23
__construct()
S
43 3 49
payment_complete()
S
58 5 14
payment_token_deleted()
S
56 4 17
add_payment_token()
S
58 4 16
can_refund_order()
S
70 5 5
register_metabox()
S
60 4 13
list_fpx_b2b1_banks()
S
47 2 34
list_fpx_banks()
S
47 2 33
get_payment_method_for_recurring()
S
65 4 8
maybe_dont_update_payment_method()
S
63 4 10
change_failing_payment_method()
S
61 3 13
metabox_html()
S
53 1 32
add_actions()
S
56 2 16
order_contains_pre_order()
S
68 3 8
order_requires_payment_tokenization()
S
68 3 8
api()
S
64 2 11
get_icon()
S
63 2 9
maybe_hide_add_new_payment_method()
S
71 2 6
init_icon()
S
63 2 9
get_public_key()
S
68 2 7
fpx_api()
S
67 2 9
admin_notices()
S
68 2 9
get_timezone_list()
S
65 2 9
get_due_timestamp()
S
68 2 7
init_currency_check()
S
67 2 7
init_method_title()
S
78 1 3
delete_payment_token()
S
81 1 3
schedule_requery()
S
76 1 3
log_order_info()
S
79 1 3
init_id()
S
79 1 3
init_title()
S
79 1 3
add_filters()
S
74 1 4
get_lock()
S
78 1 3
init_supports()
S
72 1 4
get_bypass_chip()
S
82 1 3
get_payment_method_whitelist()
S
82 1 3
release_lock()
S
78 1 3
get_payment_method_list()
S
74 1 3
init_has_fields()
S
81 1 3
register_script()
S
64 1 10
filter_customer_full_name()
S
71 1 5
init_method_description()
S
78 1 3