WC_GZD_Gateway_Direct_Debit D

Total Complexity 181
Dependencies 5
Dependents 4
Total lines 1,424
Lines of code 900
Logical lines of code 370
Comment lines 322
Methods 40
Properties 16

Methods 40

Method Rating Maintainability Complexity Lines of code
export()
B
31 13 113
generate_mandate()
A
47 15 30
validate_fields()
A
50 15 23
save_debit_fields()
A
49 14 28
__construct()
A
35 5 102
update_order()
A
50 9 24
init_form_fields()
A
33 2 128
export_args()
A
58 9 13
on_pay_for_order()
S
56 7 18
print_debit_fields()
S
48 5 35
email_sepa()
S
50 5 26
payment_scripts()
S
50 5 26
process_payment()
S
55 5 18
supports_encryption()
S
57 5 17
get_mandate_id()
S
59 5 13
payment_fields()
S
47 3 35
email_instructions()
S
70 5 5
validate_checkbox()
S
69 5 6
set_order_meta()
S
62 4 12
generate_mandate_text()
S
52 3 24
generate_mandate_by_order()
S
53 3 21
order_actions()
S
55 3 19
get_user_account_data()
S
56 3 19
unpaid_order_query()
S
57 3 17
set_debit_fields()
S
64 4 10
send_mail()
S
65 4 9
init()
S
49 1 33
maybe_decrypt()
S
65 3 10
mask()
S
68 3 6
get_mandate_text_checkout_fields()
S
58 1 16
maybe_encrypt()
S
72 2 6
thankyou_page()
S
73 2 5
get_mandate_type()
S
74 2 4
get_mandate_sign_date()
S
75 2 4
export_view()
S
82 1 3
get_debit_date()
S
74 1 4
sanitize_iban()
S
72 1 5
validate_pay_order_checkbox()
S
81 1 3
clean_whitespaces()
S
72 1 5
sanitize_bic()
S
72 1 5