WC_Gateway_Checkout_Com_PayPal S

Total Complexity 50
Dependencies 18
Dependents 0
Total lines 594
Lines of code 395
Logical lines of code 192
Comment lines 84
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
payment_fields()
A
42 3 122
request_payment()
A
45 7 41
process_payment()
A
46 7 38
payment_scripts()
A
48 7 31
handle_wc_api()
S
50 7 29
cko_create_order_request()
S
45 5 40
cko_cc_capture()
S
51 4 25
process_refund()
S
53 4 22
__construct()
S
51 2 25
add_attributes_to_script()
S
70 2 6
init_form_fields()
S
62 1 13
generate_screen_button_html()
S
80 1 3