RPRESS_Cart D

Total Complexity 202
Dependencies 2
Dependents 1
Total lines 1,432
Lines of code 685
Logical lines of code 448
Comment lines 469
Methods 50
Properties 12

Methods 50

Method Rating Maintainability Complexity Lines of code
get_item_discount_amount()
C
35 27 78
get_contents_details()
A
39 14 65
restore()
A
45 13 38
get_contents()
A
51 12 24
get_item_position()
A
54 8 21
is_saved()
S
54 7 23
is_item_in_cart()
S
55 7 20
get_item_price()
S
56 7 17
add()
S
52 6 24
save()
S
49 5 31
set_item_quantity()
S
56 5 17
get_items_subtotal()
S
58 5 16
get_item_price_id()
S
63 6 10
get_tax_on_fees()
S
58 5 15
remove_discount()
S
58 4 16
get_tax()
S
58 4 16
get_discountable_subtotal()
S
59 4 14
remove()
S
58 3 15
get_item_name()
S
63 4 10
get_item_tax()
S
62 4 10
get_total()
S
59 3 13
get_discounted_amount()
S
62 3 12
has_discounts()
S
62 3 12
display_cart_discount()
S
61 3 12
get_token()
S
64 3 9
get_total_fees()
S
63 3 10
get_item_quantity()
S
65 3 8
tax()
S
63 2 11
get_quantity()
S
65 2 9
item_price()
S
66 2 7
get_discounts()
S
72 2 5
get_item_price_name()
S
68 2 6
total()
S
68 2 7
remove_fee_url()
S
63 2 10
remove_item_url()
S
63 2 10
is_saving_enabled()
S
79 1 3
__construct()
S
78 1 3
subtotal()
S
79 1 3
get_subtotal()
S
72 1 5
get_all_fees()
S
76 1 4
get_fees()
S
79 1 3
get_item_final_price()
S
74 1 4
setup_cart()
S
69 1 8
remove_all_discounts()
S
76 1 4
empty_cart()
S
67 1 8
is_empty()
S
79 1 3
update_cart()
S
80 1 3
get_discounts_from_session()
S
72 1 5
get_contents_from_session()
S
72 1 5
generate_token()
S
78 1 3