-
Home
-
Easy Digital Downloads – eCommerce Payments and Subscriptions made easy
-
3.1.3
-
Code
-
Classes
- EDD_Cart
| Total Complexity |
205 |
| Dependencies |
2 |
| Dependents |
1 |
| Total lines |
1,496 |
| Lines of code |
708 |
| Logical lines of code |
434 |
| Comment lines |
519 |
| Methods |
52 |
| Properties |
13 |
Methods 52
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| add() |
C |
35 |
28 |
79 |
| get_contents_details() |
A |
40 |
12 |
58 |
| restore() |
A |
45 |
13 |
38 |
| item_price() |
A |
51 |
10 |
24 |
| get_item_price() |
A |
53 |
9 |
21 |
| get_contents() |
A |
54 |
8 |
20 |
| get_item_discount_amount() |
S |
50 |
7 |
29 |
| is_saved() |
S |
54 |
7 |
23 |
| is_item_in_cart() |
S |
55 |
7 |
20 |
| get_item_position() |
S |
56 |
7 |
19 |
| save() |
S |
47 |
4 |
36 |
| get_items_subtotal() |
S |
58 |
5 |
16 |
| get_tax_on_fees() |
S |
57 |
5 |
15 |
| get_tax() |
S |
57 |
4 |
17 |
| remove_discount() |
S |
58 |
4 |
16 |
| get_discountable_subtotal() |
S |
59 |
4 |
14 |
| remove() |
S |
58 |
3 |
15 |
| get_item_quantity() |
S |
65 |
4 |
8 |
| get_item_tax() |
S |
62 |
4 |
10 |
| get_item_price_id() |
S |
66 |
4 |
8 |
| set_item_quantity() |
S |
60 |
3 |
13 |
| get_total() |
S |
60 |
3 |
13 |
| has_discounts() |
S |
62 |
3 |
12 |
| display_cart_discount() |
S |
61 |
3 |
12 |
| get_discounted_amount() |
S |
62 |
3 |
12 |
| get_tax_rate() |
S |
70 |
3 |
6 |
| get_total_fees() |
S |
63 |
3 |
10 |
| get_token() |
S |
64 |
3 |
9 |
| remove_fee_url() |
S |
62 |
2 |
11 |
| get_discounts() |
S |
72 |
2 |
5 |
| get_quantity() |
S |
63 |
2 |
10 |
| remove_item_url() |
S |
63 |
2 |
10 |
| total() |
S |
68 |
2 |
7 |
| get_item_price_name() |
S |
68 |
2 |
6 |
| get_item_name() |
S |
65 |
2 |
9 |
| tax() |
S |
64 |
2 |
10 |
| __construct() |
S |
78 |
1 |
3 |
| setup_cart() |
S |
69 |
1 |
8 |
| set_tax_rate() |
S |
81 |
1 |
3 |
| get_contents_from_session() |
S |
72 |
1 |
5 |
| get_discounts_from_session() |
S |
72 |
1 |
5 |
| update_cart() |
S |
80 |
1 |
3 |
| is_empty() |
S |
79 |
1 |
3 |
| empty_cart() |
S |
67 |
1 |
8 |
| remove_all_discounts() |
S |
76 |
1 |
4 |
| get_item_final_price() |
S |
74 |
1 |
4 |
| get_fees() |
S |
79 |
1 |
3 |
| get_all_fees() |
S |
76 |
1 |
4 |
| get_subtotal() |
S |
72 |
1 |
5 |
| subtotal() |
S |
79 |
1 |
3 |
| is_saving_enabled() |
S |
79 |
1 |
3 |
| generate_token() |
S |
78 |
1 |
3 |