-
Home
-
WPC Product Options for WooCommerce
-
1.8.5 (latest)
-
Code
-
Classes
- Wpcpo_Cart
| Total Complexity |
132 |
| Dependencies |
2 |
| Dependents |
0 |
| Total lines |
467 |
| Lines of code |
342 |
| Logical lines of code |
225 |
| Comment lines |
21 |
| 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 |
37 |
18 |
71 |
| add_cart_item_data() |
A |
48 |
15 |
31 |
| cart_item_subtotal() |
A |
52 |
11 |
22 |
| order_line_item() |
A |
52 |
10 |
23 |
| cart_item_price() |
A |
55 |
8 |
19 |
| 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 |
| clean_custom_price() |
S |
79 |
1 |
3 |
| word_count() |
S |
71 |
1 |
5 |
| get_custom_price() |
S |
82 |
1 |
3 |
| handle_upload() |
S |
65 |
1 |
8 |
| before_mini_cart_contents() |
S |
82 |
1 |
3 |