-
Home
-
WPC Product Options for WooCommerce
-
1.8.1 (latest)
-
Code
-
Classes
- Wpcpo_Cart
Total Complexity |
129 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
473 |
Lines of code |
352 |
Logical lines of code |
238 |
Comment lines |
20 |
Methods |
17 |
Properties |
1 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_to_cart_validation() |
C |
36 |
32 |
66 |
get_item_data() |
B |
45 |
21 |
33 |
before_calculate_totals() |
B |
35 |
17 |
86 |
add_cart_item_data() |
A |
48 |
15 |
31 |
order_line_item() |
A |
52 |
10 |
23 |
cart_item_subtotal() |
A |
54 |
10 |
20 |
cart_item_price() |
S |
57 |
7 |
16 |
cart_item_permalink() |
S |
62 |
4 |
11 |
upload_dir() |
S |
56 |
2 |
17 |
get_cart_item_from_session() |
S |
66 |
3 |
9 |
instance() |
S |
72 |
2 |
6 |
__construct() |
S |
60 |
1 |
12 |
handle_upload() |
S |
65 |
1 |
8 |
before_mini_cart_contents() |
S |
82 |
1 |
3 |
get_custom_price() |
S |
82 |
1 |
3 |
word_count() |
S |
71 |
1 |
5 |
clean_custom_price() |
S |
79 |
1 |
3 |