WC_Customer D

Total Complexity 130
Dependencies 4
Dependents 22
Total lines 1,153
Lines of code 399
Logical lines of code 185
Comment lines 594
Methods 90
Properties 5

Methods 90

Method Rating Maintainability Complexity Lines of code
__construct()
S
53 7 23
set_address_prop()
S
62 6 11
get_taxable_address()
S
52 5 23
is_customer_outside_base()
S
61 5 13
get_shipping()
S
61 4 12
get_billing()
S
61 4 12
set_role()
S
66 4 7
get_address_prop()
S
62 4 10
has_shipping_address()
S
67 3 8
set_billing_email()
S
69 3 6
set_email()
S
69 3 6
delete_and_reassign()
S
61 2 14
get_downloadable_products()
S
69 2 7
set_display_name()
S
76 2 3
set_username()
S
80 1 3
set_date_created()
S
80 1 3
set_date_modified()
S
80 1 3
set_last_name()
S
80 1 3
set_first_name()
S
80 1 3
set_shipping_address_to_base()
S
74 1 4
set_billing_location()
S
63 1 10
set_shipping_location()
S
63 1 10
get_is_paying_customer()
S
79 1 3
set_billing_first_name()
S
79 1 3
set_billing_last_name()
S
79 1 3
set_billing_company()
S
79 1 3
set_billing_address_to_base()
S
74 1 4
set_billing_address_1()
S
79 1 3
set_billing_address()
S
81 1 3
set_shipping_address()
S
81 1 3
set_shipping_phone()
S
79 1 3
set_shipping_country()
S
79 1 3
set_shipping_postcode()
S
79 1 3
set_shipping_state()
S
79 1 3
set_shipping_city()
S
79 1 3
set_shipping_address_2()
S
79 1 3
set_shipping_address_1()
S
79 1 3
set_shipping_company()
S
79 1 3
get_shipping_country()
S
79 1 3
set_shipping_last_name()
S
79 1 3
set_shipping_first_name()
S
79 1 3
set_billing_phone()
S
79 1 3
set_billing_country()
S
79 1 3
set_billing_postcode()
S
79 1 3
set_billing_state()
S
79 1 3
set_billing_city()
S
79 1 3
set_billing_address_2()
S
79 1 3
get_shipping_phone()
S
79 1 3
get_shipping_address_1()
S
79 1 3
get_shipping_postcode()
S
79 1 3
get_last_order()
S
80 1 3
get_display_name()
S
79 1 3
get_last_name()
S
79 1 3
get_first_name()
S
79 1 3
get_email()
S
79 1 3
get_username()
S
79 1 3
get_total_spent()
S
80 1 3
get_order_count()
S
80 1 3
set_password()
S
81 1 3
get_date_created()
S
79 1 3
set_calculated_shipping()
S
80 1 3
set_is_vat_exempt()
S
80 1 3
get_calculated_shipping()
S
82 1 3
get_password()
S
82 1 3
get_is_vat_exempt()
S
82 1 3
has_calculated_shipping()
S
81 1 3
is_vat_exempt()
S
81 1 3
get_avatar_url()
S
80 1 3
get_role()
S
79 1 3
get_date_modified()
S
79 1 3
get_shipping_state()
S
79 1 3
get_billing_email()
S
79 1 3
get_shipping_city()
S
79 1 3
get_shipping_address_2()
S
79 1 3
get_shipping_address()
S
80 1 3
get_shipping_company()
S
79 1 3
get_shipping_last_name()
S
79 1 3
get_shipping_first_name()
S
79 1 3
get_billing_phone()
S
79 1 3
get_billing_country()
S
79 1 3
get_billing_first_name()
S
79 1 3
get_billing_postcode()
S
79 1 3
get_billing_state()
S
79 1 3
get_billing_city()
S
79 1 3
get_billing_address_2()
S
79 1 3
get_billing_address_1()
S
79 1 3
get_billing_address()
S
80 1 3
get_billing_company()
S
79 1 3
get_billing_last_name()
S
79 1 3
set_is_paying_customer()
S
79 1 3