WC_Gateway_IfThen_Webdados D

Total Complexity 236
Dependencies 3
Dependents 0
Total lines 1,693
Lines of code 1,300
Logical lines of code 568
Comment lines 351
Methods 31
Properties 21

Methods 31

Method Rating Maintainability Complexity Lines of code
callback()
D
21
38 208
process_admin_options_update_gateways_and_methods()
D
30 31 118
init_form_fields()
C
24
22 198
__construct()
B
36 16 75
return_payment_gateway()
B
36 15 78
email_instructions()
A
49 15 29
admin_options()
A
34 8 127
api_init_payment()
A
35 10 85
thankyou()
A
46 11 34
get_available_gateway_methods()
A
50 11 28
callback_helper_get_pending_order()
A
45 7 44
process_payment()
S
49 6 31
admin_notices()
S
45 4 52
disable_if_settings_missing()
S
60 5 14
can_refund_order()
S
60 5 13
debug_log_extra()
S
70 4 5
debug_log()
S
70 4 5
thankyou_instructions_table_html_css()
S
52 1 44
thankyou_instructions_table_html()
S
51 2 28
upgrade()
S
61 3 12
email_instructions_payment_received()
S
54 2 22
register_wpml_strings()
S
70 2 6
process_refund()
S
66 2 8
payment_complete()
S
67 2 8
get_icon()
S
70 2 5
order_details_after_order_table()
S
74 2 5
instance()
S
72 2 6
disable_only_above_or_below()
S
78 1 3
disable_unless_portugal()
S
79 1 3
disable_if_currency_not_euro()
S
79 1 3
email_instructions_1()
S
79 1 3