WC_Product_Dependencies D

Total Complexity 148
Dependencies 5
Dependents 1
Total lines 1,017
Lines of code 563
Logical lines of code 316
Comment lines 211
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
evaluate_dependencies()
D
20
55 205
dependencies_product_data_panel()
B
33 19 104
process_meta()
A
49 11 31
process_product_data()
A
49 11 30
customer_bought_products()
A
44 8 43
plugins_loaded()
S
49 7 29
dependencies_admin_scripts()
S
63 5 9
get_tied_product_ids()
S
66 3 8
get_tied_category_ids()
S
66 3 8
get_dependency_selection_type()
S
65 3 9
get_dependency_type()
S
64 3 9
instance()
S
72 2 6
declare_hpos_compatibility()
S
69 2 6
add_to_cart_validation()
S
79 2 3
check_cart_items()
S
69 2 7
get_dependency_notice()
S
67 2 8
get_product_ids_in_categories()
S
59 1 15
__clone()
S
78 1 3
__wakeup()
S
78 1 3
__construct()
S
79 1 3
plugin_url()
S
78 1 3
init()
S
77 1 3
get_dependency_relationship()
S
79 1 3
dependencies_product_data_panel_tab()
S
78 1 3
dependencies_product_data_tab()
S
65 1 8
woo_tied_evaluate_access()
S
74 1 4