WCML_Product_Bundles D

Total Complexity 140
Dependencies 10
Dependents 1
Total lines 903
Lines of code 646
Logical lines of code 318
Comment lines 64
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
sync_bundled_ids()
B
34 19 91
resync_bundle()
B
43 18 46
custom_box_html_data()
A
47 12 35
sync_product_bundle_meta()
A
41 10 59
bundle_update()
A
40 9 63
custom_box_html()
A
43 9 49
upgrade_bundles_items_relationships()
A
48 7 33
save_bundle_data_translation()
A
43 6 48
append_bundle_data_translation_package()
S
53 7 21
sync_product_bundle_meta_with_translations()
S
56 7 18
__construct()
S
48 3 34
translate_default_variation_attributes()
S
57 4 16
resync_bundle_clean()
S
64 5 9
update_bundles_custom_prices_values()
S
65 3 9
is_bundle_product()
S
68 3 7
save_product_bundle_data()
S
63 3 10
woocommerce_json_search_filter_found_products()
S
66 3 8
add_product_to_bundle()
S
55 1 22
get_product_bundle_data()
S
66 2 8
translate_allowed_variations()
S
68 2 7
update_bundles_base_price()
S
72 2 5
get_price_custom_fields()
S
63 1 13
set_translated_item_id_relationship()
S
65 1 10
get_item_id_for_language()
S
66 1 9
get_product_id_for_item_id()
S
68 1 8
delete_bundled_item_relationship()
S
68 1 8