Code Analysis: Conditional Shipping for WooCommerce 2.3.0

Function Rating Maintainability Complexity Lines of code
Woo_Conditional_Shipping_Debug::translate_condition_value()
C
42 27 45
Woo_Conditional_Shipping_Frontend::shipping_method_price_actions()
B
41 18 50
Woo_Conditional_Shipping_Frontend::filter_shipping_methods()
B
42 17 51
Woo_Conditional_Shipping_Ruleset::validate()
A
46 14 35
Woo_Conditional_Shipping_Updater::run_110()
A
47 14 31
Woo_Conditional_Shipping_Admin::save_ruleset()
A
45 12 37
Woo_Conditional_Shipping_Debug::translate_action()
A
47 11 35
woo_conditional_shipping_get_product_cats()
A
51 10 28
Woo_Conditional_Shipping_Filters::get_subset_of_items_by_shipping_class()
A
52 10 22
Woo_Conditional_Shipping_Filters::get_cart_subtotal()
A
56 10 16
Woo_Conditional_Shipping_Admin::health_check_disables()
A
51 9 26
wcs_get_cart_func()
A
55 9 20
Woo_Conditional_Shipping_Updater::run_200()
A
48 8 34
Woo_Conditional_Shipping_Admin::health_check_enables()
A
54 8 20
Woo_Conditional_Shipping_Filters::calculate_package_weight()
A
53 8 20
woo_conditional_shipping_get_shipping_method_options()
A
48 7 33
Woo_Conditional_Shipping_Admin::output()
S
51 7 27
Woo_Conditional_Shipping_Debug::record_zone()
S
53 7 22
Woo_Conditional_Shipping_Filters::get_cart_products()
S
59 7 13
Woo_Conditional_Shipping_Debug::get_debug_info()
S
53 6 24
Woo_Conditional_Shipping_Filters::get_cart_subtotal_for_shipping_class()
S
55 6 20
Woo_Conditional_Shipping_Updater::mappings_110()
S
39 1 92
Woo_Conditional_Shipping_Frontend::no_shipping_message()
S
56 6 17
Woo_Conditional_Shipping_Filters::calculate_package_volume()
S
56 6 17
Woo_Conditional_Shipping_Ruleset::get_products()
S
58 6 16
Woo_Conditional_Shipping_Admin::toggle_ruleset()
S
54 5 20
Woo_Conditional_Shipping_Frontend::get_rate_instance_id()
S
56 5 18
Woo_Conditional_Shipping_Filters::group_comparison()
S
58 5 16
Woo_Conditional_Shipping_Filters::calculate_package_length()
S
59 5 14
Woo_Conditional_Shipping_Filters::calculate_package_width()
S
59 5 14
woo_conditional_shipping_get_method_title()
S
60 5 14
Woo_Conditional_Shipping_Filters::compare_numeric_value()
S
60 5 14
Woo_Conditional_Shipping_Filters::calculate_package_height()
S
59 5 14
woo_conditional_shipping_flatten_terms()
S
59 5 13
Woo_Conditional_Shipping_Frontend::shipping_notice()
S
59 5 13
Woo_Conditional_Shipping_Debug::get_time_title()
S
62 5 11
woo_conditional_product_attr_options()
S
55 4 19
woo_conditional_shipping_get_rulesets()
S
56 4 18
Woo_Conditional_Shipping_Admin::save_settings()
S
65 5 8
Woo_Conditional_Shipping_Debug::record_rates()
S
59 4 14
Woo_Conditional_Shipping_Frontend::get_passed_rules()
S
60 4 13
Woo_Conditional_Shipping::__construct()
S
61 4 13
woo_conditional_shipping_role_options()
S
61 4 12
Woo_Conditional_Shipping_Filters::filter_products()
S
61 4 12
Woo_Conditional_Shipping_Debug::translate_condition()
S
60 4 12
woo_conditional_shipping_sort_terms_hierarchicaly()
S
61 4 12
Woo_Conditional_Shipping_Updater::run_updates()
S
63 4 11
Woo_Conditional_Shipping_Debug::get_shipping_method_titles()
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_Ruleset::get_title()
S
64 4 10
Woo_Conditional_Shipping_Updater::map_conditions_110()
S
59 3 15
Woo_Conditional_Shipping_Debug::__construct()
S
59 3 14
woo_conditional_shipping_filter_groups()
S
47 1 42
woo_conditional_shipping_method_get_instance()
S
62 3 11
woo_conditional_shipping_get_coupon_options()
S
56 2 19
woo_conditional_shipping_state_options()
S
58 2 16
Woo_Conditional_Shipping_Filters::filter_height_total()
S
65 3 8
Woo_Conditional_Shipping_Debug::get_term_titles()
S
66 3 8
Woo_Conditional_Shipping_Filters::is_array_comparison()
S
65 3 9
woo_conditional_shipping_format_ruleset_ids()
S
63 3 10
Woo_Conditional_Shipping_Filters::filter_subtotal()
S
64 3 9
woo_conditional_shipping_filters()
S
64 3 10
Woo_Conditional_Shipping_Ruleset::get_conditions_operator()
S
67 3 7
Woo_Conditional_Shipping_Filters::filter_length_total()
S
65 3 8
Woo_Conditional_Shipping_Filters::filter_volume()
S
65 3 8
Woo_Conditional_Shipping_Debug::ids_to_list()
S
67 3 7
Woo_Conditional_Shipping_Filters::filter_width_total()
S
65 3 8
Woo_Conditional_Shipping::includes()
S
60 2 13
Woo_Conditional_Shipping_Debug::add_condition()
S
61 2 12
Woo_Conditional_Shipping_Frontend::__construct()
S
61 2 11
Woo_Conditional_Shipping_Debug::output_debug_checkout()
S
63 2 11
woo_conditional_shipping_operators()
S
55 1 19
Woo_Conditional_Shipping_Post_Type::register_post_type()
S
58 1 17
Woo_Conditional_Shipping_Filters::parse_number()
S
68 2 7
woo_conditional_shipping_time_hours_options()
S
66 2 8
Woo_Conditional_Shipping_Filters::get_product_shipping_class_id()
S
69 2 6
Woo_Conditional_Shipping_Filters::get_order_attr()
S
66 2 8
Woo_Conditional_Shipping_Debug::get_country_titles()
S
71 2 6
Woo_Conditional_Shipping_Ruleset::get_enabled()
S
66 2 8
Woo_Conditional_Shipping_Ruleset::get_post()
S
72 2 6
Woo_Conditional_Shipping_Admin::hide_default_settings()
S
72 2 6
Woo_Conditional_Shipping_Ruleset::get_actions()
S
68 2 7
Woo_Conditional_Shipping::load_class()
S
70 2 7
Woo_Conditional_Shipping_Debug::instance()
S
71 2 6
woo_conditional_shipping_updater()
S
69 2 7
woo_conditional_shipping_weekdays_options()
S
65 2 8
woo_conditional_shipping_action_title()
S
68 2 7
woo_conditional_shipping_get_shipping_class_options()
S
67 2 8
Woo_Conditional_Shipping_Debug::add_result()
S
67 2 8
Woo_Conditional_Shipping_Filters::filter_weight()
S
65 2 8
Woo_Conditional_Shipping_Debug::add_action()
S
66 2 8
Woo_Conditional_Shipping_Ruleset::get_conditions()
S
68 2 7
woo_conditional_shipping_time_mins_options()
S
66 2 8
wcs_get_ruleset_operator_label()
S
65 2 9
Woo_Conditional_Shipping_Debug::get_weekday_titles()
S
71 2 6
Woo_Conditional_Shipping_Debug::get_role_titles()
S
71 2 6
Woo_Conditional_Shipping_Updater::__construct()
S
64 2 10
woo_conditional_shipping_get_category_options()
S
63 1 11
Woo_Conditional_Shipping_Admin::admin_enqueue_scripts()
S
61 1 11
init_woo_conditional_shipping()
S
83 1 3
Woo_Conditional_Shipping_Admin::__construct()
S
62 1 10
woo_conditional_shipping_subset_filters()
S
80 1 3
woo_conditional_shipping_load_textdomain()
S
78 1 3
Woo_Conditional_Shipping_Admin::add_conditions_link()
S
71 1 5
Woo_Conditional_Shipping_Post_Type::__construct()
S
78 1 3
Woo_Conditional_Shipping_Debug::is_enabled()
S
79 1 3
Woo_Conditional_Shipping::add_settings_link()
S
74 1 4
woo_conditional_shipping_get_zone_url()
S
69 1 7
Woo_Conditional_Shipping_Debug::debug_fragment()
S
75 1 4
Woo_Conditional_Shipping_Ruleset::get_id()
S
82 1 3
Woo_Conditional_Shipping_Frontend::enqueue_scripts()
S
66 1 9
woo_conditional_shipping_actions()
S
65 1 10
Woo_Conditional_Shipping::admin_includes()
S
78 1 3
Woo_Conditional_Shipping_Ruleset::get_admin_edit_url()
S
70 1 6
Woo_Conditional_Shipping_Ruleset::__construct()
S
76 1 4
Woo_Conditional_Shipping_Ruleset::get_admin_delete_url()
S
68 1 7
wcs_get_ruleset_admin_url()
S
71 1 6
Woo_Conditional_Shipping_Filters::merge_product_children_ids()
S
64 1 10
Woo_Conditional_Shipping_Debug::save_debug_info()
S
80 1 3
Woo_Conditional_Shipping_Admin::register_section()
S
75 1 4
Woo_Conditional_Shipping_Admin::health_check()
S
71 1 6
woo_conditional_shipping_country_options()
S
77 1 4