Total Complexity | 52 |
Dependencies | 6 |
Dependents | 1 |
Total lines | 569 |
Lines of code | 395 |
Logical lines of code | 187 |
Comment lines | 121 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
__construct() | 14 | 194 | ||
process_payment() | 40 | 8 | 62 | |
wc_cash_app_pay_payment_scripts() | 44 | 6 | 44 | |
payment_fields() | 46 | 4 | 41 | |
wc_cash_app_pay_thankyou_page() | 60 | 5 | 12 | |
validate_fields() | 63 | 4 | 9 | |
wc_cash_app_pay_processed() | 67 | 4 | 8 | |
wc_cash_app_pay_square_url() | 64 | 3 | 11 | |
wc_cash_app_pay_square_connect_url() | 68 | 2 | 8 | |
wc_cash_app_pay_square_connect_redirect() | 81 | 1 | 3 | |
webhook() | 83 | 1 | 3 |