WC_MBWAY_IfThen_Webdados D

Total Complexity 204
Dependencies 2
Dependents 1
Total lines 1,434
Lines of code 1,206
Logical lines of code 532
Comment lines 210
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
callback()
D
23
36 187
init_form_fields()
B
29
11 156
email_instructions()
B
43 18 48
__construct()
B
36 15 76
admin_options()
A
32 10 128
webservice_set_pedido()
A
36 12 79
thankyou()
A
43 13 42
admin_notices()
A
41 11 70
process_refund()
A
41 9 51
send_callback_email()
A
45 8 41
thankyou_instructions_table_html()
A
44 6 47
email_instructions_table_html()
A
44 6 46
process_payment()
S
51 6 26
validate_fields()
S
57 6 14
thankyou_instructions_table_html_expired()
S
50 3 30
thankyou_instructions_table_html_css()
S
51 1 53
debug_log_extra()
S
70 4 5
debug_log()
S
70 4 5
disable_if_settings_missing()
S
64 3 10
upgrade()
S
63 3 10
email_instructions_payment_received()
S
59 2 14
woocommerce_payment_complete_reduce_order_stock()
S
66 2 8
register_wpml_strings()
S
67 2 8
instance()
S
72 2 6
order_details_after_order_table()
S
75 2 5
get_icon()
S
70 2 5
payment_fields()
S
64 1 12
disable_if_currency_not_euro()
S
80 1 3
disable_unless_portugal()
S
80 1 3
disable_only_above_or_bellow()
S
78 1 3
payment_complete()
S
77 1 4
webservice_filter_descricao()
S
66 1 8
email_instructions_1()
S
79 1 3