-
Home
-
WordPress Simple Shopping Cart
-
4.7.2
-
Code
-
Classes
- WSPSC_Cart
Total Complexity |
47 |
Dependencies |
1 |
Dependents |
21 |
Total lines |
295 |
Lines of code |
178 |
Logical lines of code |
105 |
Comment lines |
67 |
Methods |
21 |
Properties |
6 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_cart_total() |
S |
55 |
5 |
19 |
get_cart_id() |
S |
58 |
5 |
15 |
get_items() |
S |
63 |
4 |
10 |
simple_cart_total() |
S |
61 |
3 |
13 |
create_cart() |
S |
53 |
2 |
24 |
get_total_cart_qty() |
S |
65 |
3 |
10 |
get_total_cart_sub_total() |
S |
64 |
3 |
10 |
cart_not_empty() |
S |
65 |
3 |
10 |
clear_cart_action_msg() |
S |
71 |
2 |
6 |
set_cart_action_msg() |
S |
68 |
2 |
7 |
get_cart_action_msg() |
S |
69 |
2 |
7 |
__construct() |
S |
74 |
2 |
4 |
get_instance() |
S |
71 |
2 |
6 |
save_items() |
S |
73 |
2 |
5 |
add_items() |
S |
81 |
1 |
3 |
set_items() |
S |
77 |
1 |
4 |
set_cart_custom_values() |
S |
81 |
1 |
3 |
get_cart_custom_values() |
S |
82 |
1 |
3 |
reset_cart_after_txn() |
S |
65 |
1 |
9 |
reset_cart() |
S |
69 |
1 |
7 |
set_cart_id() |
S |
81 |
1 |
3 |