SPC_Customer B

Total Complexity 98
Dependencies 3
Dependents 14
Total lines 451
Lines of code 363
Logical lines of code 186
Comment lines 21
Methods 59
Properties 4

Methods 59

Method Rating Maintainability Complexity Lines of code
__construct()
S
56 6 19
get_favorites()
S
58 5 17
get_name()
S
63 5 11
get_cart_items()
S
60 4 14
recalculate_stats()
S
54 3 21
update_meta()
S
65 4 9
get_orders()
S
59 2 15
has_favorite()
S
70 3 6
get_actions()
S
61 2 13
add_action()
S
60 2 13
has_billing_address()
S
72 2 6
has_shipping_address()
S
72 2 6
get_favorite_key()
S
68 2 7
get_favorite_count()
S
72 2 6
get_last_name()
S
78 2 3
has_favorites()
S
71 2 6
delete_favorite()
S
64 2 9
add_favorite()
S
65 2 9
get_email()
S
78 2 3
get_first_name()
S
78 2 3
get_meta()
S
70 2 6
add_meta()
S
72 2 5
get_order_count()
S
75 2 4
get_billing_address_formatted()
S
63 1 11
get_shipping_address_formatted()
S
63 1 11
decrease_order_count()
S
72 1 5
get_vat()
S
83 1 3
get_phone()
S
83 1 3
increase_order_count()
S
72 1 5
get_cart()
S
80 1 3
set_order_count()
S
79 1 3
increase_order_totals()
S
72 1 5
decrease_order_totals()
S
72 1 5
get_order_totals()
S
80 1 3
increase_favorites_count()
S
72 1 5
decrease_favorites_count()
S
72 1 5
set_favorites_count()
S
79 1 3
set_order_totals()
S
79 1 3
get_billing_address1()
S
75 1 4
get_billing_country()
S
75 1 4
get_shipping_address1()
S
75 1 4
set_credits()
S
79 1 3
get_credits()
S
82 1 3
decrease_credits()
S
72 1 5
increase_credits()
S
72 1 5
get_favorite_ids()
S
82 1 3
get_favorites_count()
S
80 1 3
clear_favorites()
S
80 1 3
get_shipping_address2()
S
75 1 4
get_billing_postcode()
S
75 1 4
get_shipping_city()
S
75 1 4
get_id()
S
82 1 3
get_shipping_postcode()
S
75 1 4
get_shipping_country()
S
75 1 4
set_cart()
S
80 1 3
get_billing_address2()
S
75 1 4
get_billing_city()
S
75 1 4
get_billing_state()
S
75 1 4
get_shipping_state()
S
75 1 4