CartPops_Frontend_Ajax A

Total Complexity 74
Dependencies 4
Dependents 1
Total lines 468
Lines of code 267
Logical lines of code 180
Comment lines 122
Methods 15
Properties 6

Methods 15

Method Rating Maintainability Complexity Lines of code
update_cart()
B
39 21 56
cart_fragments()
A
38 13 65
apply_coupon()
S
49 7 30
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