-
Home
-
Sold Individually for WooCommerce Product Variations
-
1.0
-
Code
-
Classes
- Woo_Sold_Individually_for_Variations
Total Complexity |
28 |
Dependencies |
0 |
Dependents |
0 |
Total lines |
166 |
Lines of code |
129 |
Logical lines of code |
43 |
Comment lines |
20 |
Methods |
10 |
Properties |
2 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
intercerpt_add_to_cart_sold_individually_found_in_cart() |
A |
51 |
11 |
24 |
add_field_to_product() |
S |
51 |
1 |
41 |
save_field_to_product() |
S |
68 |
3 |
6 |
cannot_add_another_message() |
S |
66 |
3 |
8 |
variation_is_sold_individually() |
S |
70 |
3 |
6 |
add_field_to_variation() |
S |
55 |
1 |
21 |
instance() |
S |
72 |
2 |
6 |
save_field_to_variation() |
S |
69 |
2 |
6 |
__construct() |
S |
82 |
1 |
3 |
init_hooks() |
S |
65 |
1 |
8 |