WC_Gateway_Checkout_Com_PayPal A

Total Complexity 72
Dependencies 19
Dependents 0
Total lines 621
Lines of code 360
Logical lines of code 256
Comment lines 112
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
payment_scripts()
A
42 11 49
handle_wc_api()
A
46 10 39
request_payment()
A
42 8 49
cko_express_add_to_cart()
A
48 9 28
cko_create_order_request()
S
44 6 43
process_payment()
S
46 6 37
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