Eh_PayPal_Express_Payment D

Total Complexity 586
Dependencies 12
Dependents 1
Total lines 2,860
Lines of code 2,298
Logical lines of code 1,233
Comment lines 194
Methods 37
Properties 1

Methods 37

Method Rating Maintainability Complexity Lines of code
perform_api_request_paypal()
D
0
264 1,100
shipping_parse()
D
33 55 62
set_address_to_order()
D
40 44 35
fill_checkout_fields_on_review()
C
41 25 54
__construct()
B
32 21 89
process_admin_options()
A
44 15 44
is_available()
A
50 16 28
wt_paypal_order_db_operations()
A
45 13 44
fill_billing_details_on_review()
A
37 8 96
create_wc_order()
A
42 10 53
hide_checkout_fields_on_review()
A
55 12 16
process_payment()
A
41 9 59
admin_options()
A
41 1 169
process_express_checkout()
A
46 9 39
create_account()
A
43 7 50
generate_image_html()
A
40 5 70
eh_error_msg_processing()
A
55 8 18
get_access_token()
S
51 7 26
finish_rest_request()
S
48 6 30
is_registration_needed()
S
59 7 14
wc_get_state_code()
S
60 7 13
wt_order_contain_virtual_products()
S
56 6 18
file_size()
S
49 3 34
add_cancel_order_elements()
S
55 3 19
store_locale()
S
51 2 31
gateways_hide_on_review()
S
64 4 10
add_policy_notes()
S
62 3 12
cancel_order()
S
63 3 11
make_redirect_url()
S
60 2 15
wt_paypal_is_HPOS_compatibile()
S
68 3 7
payment_scripts()
S
64 2 9
init_form_fields()
S
80 1 3
admin_scripts()
S
70 1 6
new_request()
S
79 1 3
new_rest_request()
S
79 1 3
get_icon()
S
71 1 5
wt_paypal_load_media()
S
82 1 3