-
Home
-
WPC Product Options for WooCommerce
-
1.7.7 (latest)
-
Code
-
Classes
- Wpcpo_Cart
Total Complexity |
121 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
446 |
Lines of code |
333 |
Logical lines of code |
227 |
Comment lines |
20 |
Methods |
16 |
Properties |
1 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_to_cart_validation() |
C |
36 |
32 |
66 |
get_item_data() |
B |
46 |
20 |
32 |
before_calculate_totals() |
B |
35 |
16 |
86 |
add_cart_item_data() |
A |
49 |
14 |
28 |
order_line_item() |
A |
52 |
10 |
23 |
cart_item_subtotal() |
A |
54 |
10 |
20 |
cart_item_price() |
S |
57 |
7 |
16 |
upload_dir() |
S |
56 |
2 |
17 |
instance() |
S |
72 |
2 |
6 |
get_cart_item_from_session() |
S |
70 |
2 |
6 |
__construct() |
S |
61 |
1 |
11 |
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 |