WC_Checkoutcom_Api_Request D

Total Complexity 180
Dependencies 31
Dependents 22
Total lines 1,424
Lines of code 904
Logical lines of code 608
Comment lines 227
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
get_request_param()
D
18
53 223
customer_address()
B
37 22 71
create_payment()
B
40 19 55
klarna_session()
A
34 9 94
get_cart_info()
A
35 8 96
create_apm_payment()
A
45 10 40
refund_payment()
A
43 9 45
capture_payment()
A
43 8 47
void_payment()
A
45 8 43
verify_session()
A
46 8 38
mandate_cancel_request()
S
51 6 27
get_paypal_products()
S
49 4 33
generate_apple_token()
S
50 2 30
get_ideal_bank()
S
59 3 14
generate_google_token()
S
53 2 22
is_using_saved_payment_method()
S
72 3 4
get_apm_method()
S
67 2 8
format_fawry_product()
S
63 2 10
is_url_response_ok()
S
74 2 4