WC_Gateway_Checkout_Com_PayPal B

Total Complexity 80
Dependencies 18
Dependents 0
Total lines 630
Lines of code 376
Logical lines of code 268
Comment lines 102
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
cko_create_order_request()
A
39 13 56
handle_wc_api()
A
44 12 45
payment_scripts()
A
41 11 51
request_payment()
A
42 8 49
cko_express_add_to_cart()
A
48 9 28
process_payment()
S
48 5 32
cko_cc_capture()
S
50 4 27
process_refund()
S
53 4 22
cko_express_create_order()
S
65 5 9
__construct()
S
51 2 25
add_attributes_to_script()
S
70 2 6
payment_fields()
S
73 2 5
init_form_fields()
S
62 1 13
cko_express_paypal_order_session()
S
73 1 5
generate_screen_button_html()
S
80 1 3