CartPops_Frontend_Ajax A

Total Complexity 67
Dependencies 7
Dependents 1
Total lines 451
Lines of code 244
Logical lines of code 158
Comment lines 134
Methods 15
Properties 6

Methods 15

Method Rating Maintainability Complexity Lines of code
update_cart()
B
39 21 56
apply_coupon()
S
49 7 30
cart_fragments()
S
44 6 42
add_to_cart()
S
53 7 21
remove_product()
S
52 7 20
update_shipping_method()
S
59 4 13
restore_product()
S
59 3 13
remove_coupon()
S
59 3 13
get_notifications()
S
66 2 9
calculate_shipping()
S
68 2 7
__construct()
S
74 1 5
set_notification()
S
77 1 3
refresh_cart()
S
73 1 5
removed_cart_item()
S
74 1 4
get_refreshed_fragments()
S
82 1 3