WC_Checkoutcom_Api_request D

Total Complexity 153
Dependencies 27
Dependents 21
Total lines 1,248
Lines of code 815
Logical lines of code 548
Comment lines 166
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
get_request_param()
D
21
44 187
customer_address()
B
37 22 71
klarna_session()
A
34 9 95
create_payment()
A
44 11 44
get_cart_info()
A
35 7 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
generate_apple_token()
S
49 2 30
get_ideal_bank()
S
59 3 14
generate_google_token()
S
53 2 22
get_apm_method()
S
69 2 6
format_fawry_product()
S
63 2 10