-
Home
-
WPC Product Options for WooCommerce
-
1.4.1
-
Code
-
Classes
- Wpcpo_Cart
| Total Complexity |
83 |
| Dependencies |
2 |
| Dependents |
0 |
| Total lines |
324 |
| Lines of code |
249 |
| Logical lines of code |
172 |
| Comment lines |
10 |
| Methods |
15 |
| Properties |
1 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| update_product_price() |
B |
37 |
17 |
73 |
| add_to_cart_validation() |
B |
45 |
19 |
38 |
| add_cart_item_data() |
A |
51 |
11 |
24 |
| get_item_data() |
A |
51 |
10 |
24 |
| get_custom_price() |
S |
55 |
6 |
19 |
| order_line_item() |
S |
62 |
7 |
10 |
| upload_dir() |
S |
59 |
2 |
14 |
| instance() |
S |
72 |
2 |
6 |
| display_price() |
S |
71 |
2 |
6 |
| get_cart_item_from_session() |
S |
68 |
2 |
7 |
| __construct() |
S |
62 |
1 |
10 |
| add_cart_item() |
S |
79 |
1 |
3 |
| item_quantity_update() |
S |
75 |
1 |
4 |
| clean_custom_price() |
S |
79 |
1 |
3 |
| handle_upload() |
S |
65 |
1 |
8 |