WC_CreditCard_IfThen_Webdados D

Total Complexity 182
Dependencies 3
Dependents 0
Total lines 1,420
Lines of code 1,096
Logical lines of code 484
Comment lines 291
Methods 28
Properties 18

Methods 28

Method Rating Maintainability Complexity Lines of code
callback()
D
24
32 169
return_payment_gateway()
C
29
27 126
admin_options()
B
28
13 186
__construct()
A
37 13 71
email_instructions()
A
49 15 29
init_form_fields()
A
32 7 129
api_init_payment()
A
38 10 64
send_callback_email()
A
44 8 43
callback_helper_get_pending_order()
A
44 7 45
process_payment()
S
49 6 31
thankyou()
S
59 7 13
admin_notices()
S
46 4 52
debug_log_extra()
S
70 4 5
debug_log()
S
70 4 5
thankyou_instructions_table_html_css()
S
52 1 44
upgrade()
S
61 3 12
disable_if_settings_missing()
S
64 3 10
email_instructions_payment_received()
S
61 2 12
register_wpml_strings()
S
70 2 6
process_refund()
S
66 2 8
get_icon()
S
70 2 5
payment_complete()
S
67 2 8
instance()
S
72 2 6
order_details_after_order_table()
S
74 2 5
disable_only_above_or_below()
S
78 1 3
disable_unless_portugal()
S
79 1 3
email_instructions_1()
S
79 1 3
disable_if_currency_not_euro()
S
79 1 3