Eh_PayPal_Express_Payment D

Total Complexity 264
Dependencies 5
Dependents 1
Total lines 1,176
Lines of code 1,016
Logical lines of code 523
Comment lines 51
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
perform_api_request_paypal()
D
7
88 393
set_address_to_order()
D
41 43 34
fill_checkout_fields_on_review()
B
44 16 47
shipping_parse()
A
48 17 27
__construct()
A
37 13 67
is_available()
A
56 11 18
hide_checkout_fields_on_review()
A
56 11 16
fill_billing_details_on_review()
A
38 6 91
create_account()
A
44 7 44
process_express_checkout()
A
51 8 26
is_registration_needed()
S
59 7 14
wc_get_state_code()
S
60 7 13
process_payment()
S
49 5 30
file_size()
S
49 3 34
admin_options()
S
53 1 46
store_locale()
S
51 2 31
gateways_hide_on_review()
S
64 4 10
add_policy_notes()
S
61 3 14
cancel_order()
S
63 3 11
add_cancel_order_elements()
S
59 2 15
make_redirect_url()
S
60 2 15
payment_scripts()
S
64 2 9
init_form_fields()
S
80 1 3
new_request()
S
79 1 3
get_icon()
S
73 1 5