Code Analysis: Conditional Shipping for WooCommerce 3.4.1

Function Rating Maintainability Complexity Lines of code
Woo_Conditional_Shipping_Debug::translate_condition_value()
D
38 34 57
Woo_Conditional_Shipping_Frontend::filter_shipping_methods()
C
37 25 69
Woo_Conditional_Shipping_Admin::save_ruleset()
B
38 22 57
Woo_Conditional_Shipping_Debug::translate_action()
A
44 16 42
Woo_Conditional_Shipping_Filters::item_in_subset()
A
49 15 29
Woo_Conditional_Shipping_Ruleset::validate()
A
46 14 35
Woo_Conditional_Shipping_Updater::run_110()
A
47 14 31
Woo_Conditional_Shipping_Admin::output()
A
46 12 37
woo_conditional_shipping_get_product_cats()
A
47 12 36
woo_conditional_shipping_filter_groups()
A
29 1 187
Woo_Conditional_Shipping_Frontend::convert_price()
A
54 11 19
Woo_Conditional_Shipping_Frontend::convert_price_reverse()
A
53 11 19
wcs_get_active_rate()
A
58 11 14
woo_conditional_shipping_get_rulesets()
A
48 9 34
Woo_Conditional_Shipping_Filters::get_cart_products()
A
55 10 17
wcs_get_product_tags()
A
51 9 28
wcs_get_cart_volume()
A
50 9 26
Woo_Conditional_Shipping_Debug::translate_subset_filter()
A
50 9 26
Woo_Conditional_Shipping_Admin::health_check_disables()
A
51 9 26
Woo_Conditional_Shipping_Filters::calculate_package_volume()
A
52 9 21
wcs_get_cart_func()
A
55 9 20
Woo_Conditional_Shipping_Updater::run_200()
A
48 8 34
Woo_Conditional_Shipping_Admin::save_settings()
A
55 9 18
woo_conditional_shipping_get_shipping_method_options()
A
45 7 44
Woo_Conditional_Shipping_Filters::get_cart_subtotal()
A
58 9 14
Woo_Conditional_Shipping_Updater::run_340()
A
54 8 20
Woo_Conditional_Shipping_Admin::health_check_enables()
A
54 8 20
Woo_Conditional_Shipping_Updater::run_3401()
S
51 7 25
Woo_Conditional_Shipping_Ruleset::get_coupons()
S
53 7 24
Woo_Conditional_Shipping_Filters::calculate_package_weight()
S
55 7 18
Woo_Conditional_Shipping_Debug::get_shipping_method_titles()
S
56 7 16
Woo_Conditional_Shipping_Debug::translate_condition()
S
56 7 16
wcs_wpml_has_strings()
S
60 7 13
Woo_Conditional_Shipping_Debug::record_zone()
S
53 6 22
Woo_Conditional_Shipping_Filters::get_subset_subtotal()
S
55 6 20
Woo_Conditional_Shipping::__construct()
S
57 6 19
Woo_Conditional_Shipping_Filters::filter_products()
S
55 6 18
Woo_Conditional_Shipping_Updater::mappings_110()
S
39 1 92
Woo_Conditional_Shipping_Updater::run_updates()
S
58 6 17
Woo_Conditional_Shipping_Ruleset::get_products()
S
58 6 16
Woo_Conditional_Shipping_Ruleset::get_tags()
S
57 6 16
Woo_Conditional_Shipping_Filters::compare_numeric_value()
S
58 6 16
wcs_translate_action()
S
58 6 14
Woo_Conditional_Shipping_Filters::get_subset_items()
S
60 6 12
Woo_Conditional_Shipping_Debug::format()
S
51 5 27
Woo_Conditional_Shipping_Admin::clone_ruleset()
S
53 5 22
Woo_Conditional_Shipping_Admin::toggle_ruleset()
S
53 5 21
Woo_Conditional_Shipping_Frontend::get_rate_instance_id()
S
56 5 18
wcs_get_cart_weight()
S
56 5 17
Woo_Conditional_Shipping_Filters::group_comparison()
S
58 5 16
wcs_method_name_match()
S
57 5 16
Woo_Conditional_Shipping_Filters::calculate_package_height()
S
58 5 14
Woo_Conditional_Shipping_Filters::calculate_package_length()
S
58 5 14
Woo_Conditional_Shipping_Filters::calculate_package_width()
S
58 5 14
woo_conditional_shipping_get_method_title()
S
60 5 14
woo_conditional_shipping_flatten_terms()
S
59 5 13
Woo_Conditional_Shipping_Debug::get_term_titles()
S
60 5 12
Woo_Conditional_Shipping_Ruleset::get_actions()
S
61 5 12
Woo_Conditional_Shipping_Debug::get_time_title()
S
62 5 11
wcs_method_selected()
S
60 5 11
woo_conditional_product_attr_options()
S
55 4 19
Woo_Conditional_Shipping_Debug::render_block()
S
68 5 7
Woo_Conditional_Shipping_Frontend::is_blocks_checkout()
S
68 5 6
Woo_Conditional_Shipping_Ruleset::notice_applicable()
S
59 4 14
Woo_Conditional_Shipping_Debug::output_debug_checkout()
S
60 4 14
woo_conditional_shipping_sort_terms_hierarchicaly()
S
61 4 12
woo_conditional_shipping_role_options()
S
61 4 12
Woo_Conditional_Shipping_Filters::filter_volume()
S
60 4 12
Woo_Conditional_Shipping_Debug::record_rates()
S
61 4 12
wcs_convert_volume()
S
62 4 11
Woo_Conditional_Shipping_Debug::get_attr_titles()
S
62 4 11
Woo_Conditional_Shipping_Debug::get_state_titles()
S
62 4 11
Woo_Conditional_Shipping_Admin::admin_enqueue_scripts()
S
55 3 18
wcs_pms_plan_options()
S
58 3 16
Woo_Conditional_Shipping_Ruleset::get_title()
S
64 4 10
Woo_Conditional_Shipping_Updater::map_conditions_110()
S
59 3 15
Woo_Conditional_Shipping_Admin::admin_dequeue_scripts()
S
69 4 6
Woo_Conditional_Shipping_Integration::get_file_version()
S
70 4 6
Woo_Conditional_Shipping_Frontend::__construct()
S
57 3 15
Woo_Conditional_Shipping_Admin::preprocess_conditions()
S
64 4 9
Woo_Conditional_Shipping_Debug::is_blocks_checkout()
S
68 4 6
woo_conditional_shipping_method_get_instance()
S
62 3 11
Woo_Conditional_Shipping_Integration::enqueue_assets()
S
53 2 26
Woo_Conditional_Shipping_Frontend::register_blocks_support()
S
55 2 20
woo_conditional_shipping_actions()
S
50 1 34
woo_conditional_shipping_state_options()
S
58 2 16
Woo_Conditional_Shipping_Filters::is_array_comparison()
S
66 3 8
Woo_Conditional_Shipping_Filters::filter_width_total()
S
65 3 8
woo_conditional_shipping_format_ruleset_ids()
S
63 3 10
Woo_Conditional_Shipping_Filters::filter_height_total()
S
65 3 8
wcs_get_control_title()
S
69 3 6
woo_conditional_shipping_filters()
S
64 3 10
wcs_get_active_rate_id()
S
65 3 10
Woo_Conditional_Shipping_Filters::filter_length_total()
S
65 3 8
Woo_Conditional_Shipping_Debug::ids_to_list()
S
67 3 7
Woo_Conditional_Shipping_Filters::filter_subtotal()
S
64 3 9
Woo_Conditional_Shipping_Ruleset::get_conditions_operator()
S
67 3 7
Woo_Conditional_Shipping::includes()
S
60 2 13
Woo_Conditional_Shipping_Debug::__construct()
S
60 2 12
Woo_Conditional_Shipping_Frontend::enqueue_scripts()
S
63 2 11
woo_conditional_shipping_operators()
S
54 1 20
Woo_Conditional_Shipping_Ruleset::get_row_actions()
S
57 1 19
Woo_Conditional_Shipping_Post_Type::register_post_type()
S
58 1 17
Woo_Conditional_Shipping_Debug::get_user_pms_plan_titles()
S
71 2 5
Woo_Conditional_Shipping_Filters::get_order_attr()
S
66 2 8
Woo_Conditional_Shipping_Debug::add_action()
S
69 2 6
woo_conditional_shipping_updater()
S
69 2 7
wcs_get_ruleset_operator_label()
S
65 2 9
Woo_Conditional_Shipping_Updater::__construct()
S
64 2 10
Woo_Conditional_Shipping_Debug::get_country_titles()
S
71 2 6
Woo_Conditional_Shipping_Filters::parse_number()
S
68 2 7
Woo_Conditional_Shipping_Debug::add_condition()
S
63 2 10
Woo_Conditional_Shipping_Filters::get_product_shipping_class_id()
S
69 2 6
woo_conditional_shipping_weekdays_options()
S
65 2 8
wcs_get_volume_unit()
S
66 2 8
Woo_Conditional_Shipping_Ruleset::get_post()
S
71 2 6
Woo_Conditional_Shipping_Debug::add_result()
S
70 2 6
woo_conditional_shipping_get_shipping_class_options()
S
66 2 8
Woo_Conditional_Shipping_Debug::get_role_titles()
S
71 2 6
Woo_Conditional_Shipping_Ruleset::get_conditions()
S
68 2 7
Woo_Conditional_Shipping::load_class()
S
70 2 7
woo_conditional_shipping_action_title()
S
68 2 7
wcs_get_coupon_title()
S
64 2 10
woo_conditional_shipping_time_hours_options()
S
66 2 8
Woo_Conditional_Shipping_Debug::instance()
S
71 2 6
Woo_Conditional_Shipping_Ruleset::get_enabled()
S
66 2 8
Woo_Conditional_Shipping_Debug::get_weekday_titles()
S
71 2 6
Woo_Conditional_Shipping_Filters::filter_weight()
S
65 2 8
Woo_Conditional_Shipping_Frontend::store_api_data()
S
64 2 10
Woo_Conditional_Shipping_Admin::hide_default_settings()
S
72 2 6
woo_conditional_shipping_time_mins_options()
S
66 2 8
Woo_Conditional_Shipping_Frontend::store_api_schema()
S
60 1 14
wcs_get_price_modes()
S
62 1 11
Woo_Conditional_Shipping_Admin::__construct()
S
61 1 11
woo_conditional_shipping_get_category_options()
S
63 1 11
Woo_Conditional_Shipping_Admin::health_check()
S
71 1 6
Woo_Conditional_Shipping_Ruleset::get_admin_delete_url()
S
68 1 7
Woo_Conditional_Shipping_Filters::merge_product_children_ids()
S
64 1 10
wcs_get_ruleset_admin_url()
S
71 1 6
Woo_Conditional_Shipping_Ruleset::__construct()
S
76 1 4
Woo_Conditional_Shipping_Integration::get_editor_script_handles()
S
82 1 3
Woo_Conditional_Shipping_Debug::enqueue_scripts()
S
68 1 8
init_woo_conditional_shipping()
S
83 1 3
Woo_Conditional_Shipping_Ruleset::get_id()
S
82 1 3
Woo_Conditional_Shipping_Integration::get_script_handles()
S
81 1 3
woo_conditional_shipping_get_zone_url()
S
69 1 7
wcs_currency_options()
S
82 1 3
Woo_Conditional_Shipping_Integration::get_name()
S
82 1 3
Woo_Conditional_Shipping_Post_Type::__construct()
S
78 1 3
wcs_esc_html()
S
72 1 5
Woo_Conditional_Shipping::admin_includes()
S
78 1 3
Woo_Conditional_Shipping_Debug::debug_fragment()
S
75 1 4
Woo_Conditional_Shipping_Ruleset::get_admin_edit_url()
S
70 1 6
Woo_Conditional_Shipping_Integration::get_script_data()
S
79 1 4
Woo_Conditional_Shipping_Ruleset::get_admin_duplicate_url()
S
68 1 7
Woo_Conditional_Shipping_Admin::add_conditions_link()
S
71 1 5
Woo_Conditional_Shipping::add_settings_link()
S
74 1 4
Woo_Conditional_Shipping_Debug::is_enabled()
S
79 1 3
woo_conditional_shipping_subset_filters()
S
80 1 3
woo_conditional_shipping_country_options()
S
77 1 4
woo_conditional_shipping_load_textdomain()
S
78 1 3
Woo_Conditional_Shipping_Integration::initialize()
S
82 1 3
Woo_Conditional_Shipping_Admin::register_section()
S
75 1 4