WC_Checkoutcom_Api_Request D

Total Complexity 158
Dependencies 29
Dependents 36
Total lines 1,299
Lines of code 836
Logical lines of code 556
Comment lines 200
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
get_request_param()
D
20
45 208
customer_address()
B
37 22 71
create_payment()
A
43 15 46
klarna_session()
A
34 9 94
get_cart_info()
A
35 7 93
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
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