-
Home
-
Sold Individually for WooCommerce Product Variations
-
0.5
-
Code
-
Classes
- Woo_Sold_Individually_for_Variations
Total Complexity |
25 |
Dependencies |
0 |
Dependents |
0 |
Total lines |
147 |
Lines of code |
113 |
Logical lines of code |
38 |
Comment lines |
18 |
Methods |
9 |
Properties |
2 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
intercerpt_add_to_cart_sold_individually_found_in_cart() |
A |
52 |
11 |
23 |
add_field_to_product() |
S |
53 |
1 |
34 |
save_field_to_product() |
S |
68 |
3 |
6 |
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 |