WC_Cash_App_Pay_Gateway C

Total Complexity 106
Dependencies 12
Dependents 1
Total lines 1,162
Lines of code 655
Logical lines of code 358
Comment lines 402
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
process_payment()
B
29
18 135
process_refund()
B
33 19 90
__construct()
B
29
10 153
wc_cash_app_pay_payment_scripts()
S
44 6 44
wc_cash_app_pay_get_refund_order()
S
50 6 27
wc_cash_app_pay_thankyou_page()
S
55 6 18
wc_cash_app_pay_email_instructions()
S
59 6 12
payment_fields()
S
46 4 41
wc_cash_app_pay_get_refund_error()
S
54 4 22
wc_cash_app_pay_add_refund_note()
S
55 4 19
validate_fields()
S
61 4 11
wc_cash_app_pay_processed()
S
67 4 8
wccp_log()
S
65 4 8
wc_cash_app_pay_square_url()
S
64 3 11
wc_cash_app_payment_api()
S
54 1 21
wc_cash_app_pay_mark_order_as_refunded()
S
64 2 9
wc_cash_app_pay_square_connect_url()
S
67 2 8
wc_cash_app_refund_api()
S
62 1 12
wc_cash_app_pay_square_connect_redirect()
S
80 1 3
webhook()
S
83 1 3