WC_Checkoutcom_Api_Request D

Total Complexity 171
Dependencies 31
Dependents 22
Total lines 1,383
Lines of code 888
Logical lines of code 598
Comment lines 213
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
get_request_param()
D
18
51 222
customer_address()
B
37 22 71
create_payment()
B
42 17 48
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
get_apm_method()
S
67 2 8
format_fawry_product()
S
63 2 10