Code Analysis: WooCommerce Product Dependencies 1.2.5

Function Rating Maintainability Complexity Lines of code
WC_Product_Dependencies::evaluate_dependencies()
D
21
52 198
WC_Product_Dependencies::dependencies_product_data_panel()
B
33 19 104
WC_Product_Dependencies::process_meta()
A
49 11 31
WC_Product_Dependencies::process_product_data()
A
49 11 30
WC_Product_Dependencies::customer_bought_products()
A
44 8 43
WC_PD_Helpers::format_product_title()
A
53 8 22
WC_Product_Dependencies::plugins_loaded()
S
50 7 28
WC_PD_Helpers::merge_product_titles()
S
52 7 22
WC_PD_Helpers::merge_category_titles()
S
51 6 26
WC_PD_Helpers::get_product_title()
S
55 6 20
WC_Product_Dependencies::dependencies_admin_scripts()
S
63 5 9
WC_PD_Helpers::get_part_to_merge_expression()
S
62 4 10
WC_PD_Core_Compatibility::get_parent_id()
S
68 3 7
WC_Product_Dependencies::get_dependency_type()
S
64 3 9
WC_Product_Dependencies::get_tied_product_ids()
S
66 3 8
WC_PD_Core_Compatibility::get_wc_version()
S
78 3 3
WC_Product_Dependencies::get_tied_category_ids()
S
66 3 8
WC_Product_Dependencies::get_dependency_selection_type()
S
65 3 9
WC_PD_Core_Compatibility::get_id()
S
68 3 7
WC_PD_Core_Compatibility::is_wc_version_lt_2_2()
S
77 2 3
WC_PD_Core_Compatibility::wc_help_tip()
S
68 2 7
WC_Product_Dependencies::instance()
S
72 2 6
WC_Product_Dependencies::add_to_cart_validation()
S
79 2 3
WC_PD_Core_Compatibility::is_wc_version_gte_2_6()
S
77 2 3
WC_PD_Core_Compatibility::is_wc_version_gte_2_4()
S
77 2 3
WC_PD_Core_Compatibility::is_wc_version_gte_2_3()
S
77 2 3
WC_PD_Core_Compatibility::is_wc_version_gte_2_7()
S
77 2 3
WC_PD_Core_Compatibility::is_wc_version_gte_2_2()
S
77 2 3
WC_Product_Dependencies::get_product_ids_in_categories()
S
59 1 15
WC_PD_Core_Compatibility::wc_get_product()
S
68 2 7
WC_PD_Core_Compatibility::is_wc_version_gte_2_5()
S
77 2 3
WC_Product_Dependencies::get_dependency_notice()
S
67 2 8
WC_PD_Core_Compatibility::is_wc_version_gt()
S
77 2 3
WC_Product_Dependencies::check_cart_items()
S
69 2 7
WC_Product_Dependencies::__construct()
S
79 1 3
WC_Product_Dependencies::__wakeup()
S
78 1 3
WC_Product_Dependencies::plugin_url()
S
78 1 3
WC_Product_Dependencies::__clone()
S
78 1 3
WC_Product_Dependencies::dependencies_product_data_tab()
S
65 1 8
WC_Product_Dependencies::get_dependency_relationship()
S
79 1 3
WC_Product_Dependencies::woo_tied_evaluate_access()
S
74 1 4
WC_Product_Dependencies()
S
82 1 3
WC_Product_Dependencies::dependencies_product_data_panel_tab()
S
78 1 3
WC_Product_Dependencies::init()
S
77 1 3