WC_Checkoutcom_Api_Request D

Total Complexity 190
Dependencies 31
Dependents 22
Total lines 1,508
Lines of code 956
Logical lines of code 644
Comment lines 235
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
get_request_param()
D
18
53 224
customer_address()
B
37 22 71
create_payment()
B
38 19 62
refund_payment()
B
36 17 82
klarna_session()
A
34 9 94
get_cart_info()
A
35 8 96
create_apm_payment()
A
45 10 40
capture_payment()
A
44 8 46
void_payment()
A
45 8 43
verify_session()
A
45 8 41
mandate_cancel_request()
A
48 8 32
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