WCML_Product_Bundles D

Total Complexity 143
Dependencies 14
Dependents 0
Total lines 1,030
Lines of code 689
Logical lines of code 348
Comment lines 145
Methods 30
Properties 5

Methods 30

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
apply_translation()
A
40 9 63
custom_box_html()
A
43 9 49
append_bundle_data_translation_package()
A
49 8 29
upgrade_bundles_items_relationships()
A
48 7 33
save_bundle_data_translation()
A
43 6 48
add_hooks()
S
49 4 32
translate_default_variation_attributes()
S
57 4 16
resync_bundle_clean()
S
64 5 9
sync_product_bundle_meta_with_translations()
S
51 3 29
sync_bundle_sells()
S
56 3 18
save_product_bundles_to_translation()
S
59 3 13
save_product_bundle_data()
S
62 3 11
woocommerce_json_search_filter_found_products()
S
66 3 8
is_bundle_product()
S
68 3 7
add_product_to_bundle()
S
55 1 22
translate_allowed_variations()
S
68 2 7
get_product_bundle_data()
S
66 2 8
delete_bundled_item_relationship()
S
68 1 8
__construct()
S
71 1 6
bundle_update()
S
69 1 6
get_job_field_name()
S
78 1 3
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
flush_bundle_cache()
S
78 1 3
adjust_bundle_sells_product_signature()
S
77 1 3