-
Home
-
WooCommerce
-
7.8.1
-
Code
-
Classes
- WC_Product_Variable_Data_Store_CPT
Total Complexity |
101 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
697 |
Lines of code |
442 |
Logical lines of code |
227 |
Comment lines |
177 |
Methods |
16 |
Properties |
1 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
read_price_data() |
C |
33 |
22 |
100 |
read_variation_attributes() |
B |
40 |
16 |
58 |
read_attributes() |
A |
41 |
12 |
54 |
read_children() |
A |
46 |
8 |
36 |
get_price_hash() |
S |
53 |
7 |
21 |
delete_variations() |
S |
50 |
6 |
29 |
sync_price() |
S |
51 |
6 |
25 |
sync_managed_variation_stock_status() |
S |
51 |
6 |
24 |
child_has_stock_status() |
S |
53 |
3 |
23 |
untrash_variations() |
S |
56 |
3 |
19 |
sync_variation_names() |
S |
59 |
3 |
16 |
sync_stock_status() |
S |
66 |
3 |
9 |
child_has_weight() |
S |
62 |
2 |
10 |
child_has_dimensions() |
S |
62 |
2 |
10 |
read_product_data() |
S |
73 |
1 |
5 |
child_is_in_stock() |
S |
79 |
1 |
3 |