WC_ZPal A

Total Complexity 55
Dependencies 3
Dependents 0
Total lines 397
Lines of code 387
Logical lines of code 179
Comment lines 0
Methods 19
Properties 8

Methods 19

Method Rating Maintainability Complexity Lines of code
Return_from_ZarinPal_Gateway()
A
43 10 45
Send_to_ZarinPal_Gateway()
A
39 6 64
process_refund()
S
49 7 29
init_form_fields()
S
38 1 92
__construct()
S
43 4 44
email_instructions()
S
67 4 8
admin_notice_missing_merchantcode()
S
65 3 8
admin_notice_missing_accesstoken()
S
72 3 5
get_transaction_url()
S
62 2 12
add_sandbox_notice_to_admin_bar()
S
62 2 12
generate_trust_logo_html()
S
58 1 18
tokenization_script()
S
71 2 6
payment_fields()
S
72 2 6
thankyou_page()
S
74 2 5
sanitize_access_token()
S
70 2 6
process_payment()
S
68 1 7
save_payment_method_checkbox()
S
67 1 9
get_icon()
S
74 1 4
admin_options()
S
68 1 7