WC_Checkoutcom_Api_request D

Total Complexity 158
Dependencies 27
Dependents 18
Total lines 1,178
Lines of code 751
Logical lines of code 530
Comment lines 171
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
get_request_param()
D
27
30 134
customer_address()
B
37 22 71
klarna_session()
A
35 10 90
refund_payment()
A
42 12 47
create_apm_payment()
A
44 12 42
get_cart_info()
A
35 7 96
capture_payment()
A
44 10 43
create_payment()
A
45 10 39
void_payment()
A
45 10 39
verify_session()
A
46 9 37
get_ideal_bank()
S
55 5 17
get_eps_bank()
S
55 5 17
get_giropay_bank()
S
55 5 17
generate_google_token()
S
52 4 23
generate_apple_token()
S
52 3 23
get_apm_method()
S
69 2 6
format_fawry_product()
S
63 2 10