Code Analysis: YITH WooCommerce Custom Order Status 1.1.5

Function Rating Maintainability Complexity Lines of code
YIT_Pointers::pointer_load()
D
31 46 84
YIT_Metabox::save_postdata()
B
41 22 51
yit_plugin_content()
B
37 20 69
YIT_CPT_Unlimited::add_metabox_cptu()
B
32 16 111
yit_pagination()
B
43 19 43
YIT_Plugin_Panel_WooCommerce::woocommerce_update_options()
B
43 19 40
yit_delete_prop()
B
50 19 22
yit_add_select2_fields()
B
38 15 74
YIT_Plugin_Panel::options_validate()
B
45 17 37
YIT_Licence::check()
A
40 15 58
YIT_CPT_Unlimited::pre_get_posts()
A
49 15 29
YIT_Upgrade::register()
A
44 13 40
YIT_CPT_Unlimited::frontend_assets()
A
46 13 37
YIT_CPT_Unlimited::add_cptu_menu_item()
A
45 13 36
YIT_Upgrade::upgrader_pre_download()
A
42 12 49
YIT_CPT_Unlimited::register_cptu_post_types()
A
36 10 78
YIT_CPT_Unlimited::__construct()
A
37 10 77
YIT_CPT_Unlimited::add_shortcode()
A
47 13 29
YIT_Upgrade::plugin_update_row()
A
46 12 30
yit_set_prop()
A
49 12 29
YIT_Ajax::json_search_posts()
A
44 11 42
yith_plugin_fw_get_field()
A
50 12 26
yit_get_prop()
A
50 12 26
YIT_Plugin_Panel::render_field()
A
50 12 25
yit_plugin_get_attachment_id()
A
45 10 40
YIT_CPT_Unlimited::get_layouts()
A
45 10 40
YITH_Debug::add_debug_in_admin_bar()
A
44 9 50
YIT_Plugin_Panel_WooCommerce::admin_enqueue_scripts()
A
46 10 34
YIT_Upgrade::check_update()
A
48 10 30
YIT_Licence::deactivate()
A
45 9 40
YIT_Plugin_Panel_WooCommerce::set_default_options()
A
52 10 22
YIT_CPT_Unlimited::single_template_config()
A
55 10 16
YIT_Plugin_Panel_WooCommerce::sanitize_option()
A
57 10 14
yith_field_deps_data()
A
59 10 12
YIT_Licence::activate()
A
45 8 38
YIT_Plugin_Panel::admin_enqueue_scripts()
A
52 9 23
YIT_Gradients::_make_modern_gradient()
A
48 8 33
YIT_Assets::register_styles_and_scripts()
A
46 8 32
YIT_CPT_Unlimited::add_metabox_item_fields()
A
48 8 32
YIT_Ajax::json_search_terms()
A
44 7 45
YIT_Plugin_Panel_WooCommerce::maybe_unserialize_panel_data()
A
57 9 15
YIT_Plugin_Licence::activate_license_notice()
A
51 8 26
YIT_CPT_Unlimited::sort_posts()
A
51 8 26
YIT_Ajax::json_search_products()
A
51 8 24
yit_get_excluded_categories()
A
52 8 23
YIT_Video::video_id_by_url()
A
53 8 21
yith_wccos_color_with_fact()
A
47 7 35
YIT_Pointers::register()
A
55 8 19
YIT_Upgrade::_download_url()
A
49 7 33
YITH_WCCOS_Admin::add_submit_to_order_admin_actions()
A
44 6 47
YIT_CPT_Unlimited::single_template()
S
56 8 14
YITH_Debug::get_debug_information()
S
42 5 59
YIT_Gradients::_make_chr_saf4_gradient()
S
51 7 27
YIT_Metabox::add_field()
S
52 7 25
YITH_WCCOS_Admin::before_trash_status()
S
46 6 40
YIT_Licence::get_no_active_licence_key()
S
53 7 22
YITH_WCCOS_Admin::get_status_inline_css()
S
41 4 67
yit_save_prop()
S
54 7 22
yith_wccos_darken_color()
S
49 6 35
YIT_Plugin_SubPanel::yit_panel()
S
44 5 47
YIT_Plugin_Panel::yit_panel()
S
44 5 47
yit_avoid_duplicate()
S
56 7 17
YIT_Plugin_Panel::get_current_tab()
S
58 7 15
yith_wccos_rgb_to_hsl()
S
50 6 30
YIT_Plugin_Panel::add_fields()
S
56 7 15
YIT_Plugin_SubPanel::add_setting_page()
S
57 7 14
YIT_Licence::__construct()
S
58 7 14
YIT_Video::youtube()
S
51 6 27
YIT_Licence::admin_enqueue_scripts()
S
50 6 24
YIT_CPT_Unlimited::init_menu_order()
S
51 6 24
YIT_Video::youtube_id_by_url()
S
53 6 23
YIT_CPT_Unlimited::add_button_multiuploader()
S
48 5 38
YIT_CPT_Unlimited::_cpt_args()
S
53 6 21
YIT_CPT_Unlimited::add_importer_required_post_type()
S
54 6 21
yit_product_visibility_meta()
S
56 6 17
YIT_Plugin_Panel::is_show_form()
S
58 6 16
yit_plugin_get_template()
S
59 6 15
YIT_CPT_Unlimited::sorted_next_post_where()
S
57 6 15
YIT_CPT_Unlimited::sorted_prev_post_where()
S
57 6 15
YIT_Plugin_Panel::get_default_options()
S
58 6 15
yit_layout_option()
S
59 6 14
YIT_Upgrade::multisite_updater_script()
S
48 5 29
YIT_Licence::get_activated_products()
S
59 6 14
YIT_CPT_Unlimited::sorted_next_post_sort()
S
58 6 14
YIT_CPT_Unlimited::sorted_prev_post_sort()
S
58 6 14
YIT_Video::vimeo()
S
50 5 28
YIT_Plugin_Panel::__construct()
S
50 5 28
yit_check_plugin_support()
S
60 6 12
YITH_WCCOS_Admin::admin_enqueue_scripts()
S
50 5 27
YIT_Metabox::reorder_tabs()
S
61 6 11
YIT_Plugin_Panel_WooCommerce::__construct()
S
53 5 22
YIT_Upgrade::upgrade_plugin_multisite()
S
52 5 22
YIT_Plugin_Panel::add_menu_class_in_yith_plugin()
S
54 5 20
YIT_Icons::_get_dashicons_array()
S
54 5 20
yit_update_product_stock()
S
56 5 19
yith_get_formatted_price()
S
53 5 19
YIT_Icons::get_icon()
S
55 5 18
yit_deactive_free_version()
S
56 5 17
YIT_Plugin_Panel_WooCommerce::admin_body_class()
S
67 6 6
YIT_Plugin_Panel::is_custom_tab()
S
62 6 10
yit_load_js_file()
S
68 6 6
yith_panel_field_deps_data()
S
62 6 10
yit_send_changes_to_db()
S
58 5 15
YIT_CPT_Unlimited::post_multiuploader()
S
59 5 14
yith_plugin_fw_html_data_to_string()
S
59 5 14
YIT_CPT_Unlimited::add_importer_required_taxonomy()
S
60 5 13
yith_wccos_darken_color()
S
50 4 28
yith_wccos_lighter_color()
S
50 4 28
yit_curPageURL()
S
60 5 13
YIT_Plugin_Panel_WooCommerce::add_yith_field()
S
61 5 11
YIT_Plugin_Panel::get_tab_title()
S
62 5 11
YIT_Ajax::json_search_orders()
S
52 4 23
yit_maybe_plugin_fw_loader()
S
54 4 21
YIT_Metabox::add_tab()
S
56 4 18
YIT_Icons::get_icon_data()
S
55 4 18
YIT_CPT_Unlimited::template_path()
S
56 4 17
yit_ie_version()
S
58 4 17
YIT_Plugin_Panel::add_admin_bar_menu()
S
57 4 16
YIT_CPT_Unlimited::archive_template()
S
65 5 8
YITH_WCCOS_Admin::plugin_row_meta()
S
67 5 6
YIT_CPT_Unlimited::filter_active()
S
67 5 7
YIT_Plugin_Panel::get_section_description()
S
64 5 9
YIT_CPT_Unlimited::locate_file()
S
63 5 9
yit_get_post_meta()
S
59 4 14
YIT_Metabox::enqueue()
S
59 4 14
YIT_Plugin_Common::get_icon()
S
59 4 13
YITH_WCCOS_Admin::register_panel()
S
50 3 28
YITH_WCCOS_Admin::post_type_register()
S
42 1 57
YIT_Plugin_Panel::add_setting_page()
S
59 4 12
YIT_Plugin_Panel::get_main_array_options()
S
61 4 12
YITH_WCCOS_Admin::__construct()
S
53 3 20
YIT_Icons::_get_font_awesome_array()
S
55 3 20
YIT_Plugin_Panel::message()
S
53 3 20
YIT_Gradients::hex_lighter()
S
54 3 19
YIT_Gradients::hex_darker()
S
55 3 18
YIT_CPT_Unlimited::register_post_type()
S
47 2 33
YIT_Licence::get_response_code_message()
S
55 3 17
yit_plugin_string()
S
64 4 10
yith_plugin_fw_is_true()
S
78 4 3
yit_string()
S
64 4 10
YIT_Upgrade::__construct()
S
62 4 10
YIT_Plugin_Panel_WooCommerce::get_current_tab()
S
64 4 9
YIT_Licence::get_number_of_membership_products()
S
64 4 10
YIT_Plugin_Panel::add_body_class()
S
68 4 6
YITH_Debug::init()
S
65 4 8
YIT_Plugin_Panel::get_section_title()
S
64 4 9
YIT_Plugin_Panel::get_options()
S
66 4 7
YIT_CPT_Unlimited::locate_url()
S
64 4 9
yit_enqueue_style()
S
59 3 13
YIT_Licence::get_home_url()
S
60 3 13
YIT_Plugin_Panel::get_tabs_path_files()
S
60 3 13
yit_wc_deprecated_filter_mapping()
S
62 3 12
yit_registered_sidebars()
S
62 3 12
YITH_Debug::get_premium_plugins_info()
S
62 3 11
YIT_Plugin_Panel::add_premium_version_upgrade_to_menu()
S
62 3 11
YIT_Icons::get_inline_scripts()
S
64 3 11
YIT_CPT_Unlimited::add_shortcode_to_box()
S
52 2 25
yit_wc_deprecated_filters()
S
47 1 36
YIT_Pointers::__construct()
S
50 1 34
YIT_Plugin_Licence::__construct()
S
55 2 19
YITH_WCCOS_Admin::register_my_new_order_statuses()
S
55 2 19
YIT_Gradients::gradient()
S
56 2 17
yit_return_new_attribute_map()
S
49 1 31
YITH_WCCOS::get_instance()
S
73 3 4
yit_fix_wc_deprecated_filters()
S
64 3 9
yit_get_base_product_id()
S
72 3 5
yith_plugin_fw_get_field_template_path()
S
67 3 7
is_shop_installed()
S
67 3 8
yith_wccos_install()
S
64 3 10
yit_wpml_object_id()
S
65 3 9
YIT_Gradients::hex2rgb()
S
58 2 15
YIT_CPT_Unlimited::template_url()
S
60 2 15
yit_enqueue_script()
S
65 3 8
YITH_WCCOS_Frontend::get_instance()
S
73 3 4
YIT_Licence::show_activation_panel()
S
63 3 10
YIT_Plugin_Panel::add_menu_page()
S
63 3 9
YIT_CPT_Unlimited::rewrite_flush()
S
72 3 5
YIT_Licence::is_ajax()
S
78 3 3
YIT_Gradients::__get()
S
67 3 8
YITH_Debug::get_current_screen_info()
S
74 3 4
YIT_Plugin_Panel_WooCommerce::yit_upload()
S
67 3 7
YIT_Metabox::remove_field()
S
68 3 7
YITH_WCCOS_Admin::action_links()
S
64 3 8
YITH_WCCOS_Admin::get_instance()
S
73 3 4
YITH_WCCOS::plugin_fw_loader()
S
66 3 9
YIT_CPT_Unlimited::admin_sortable_assets()
S
67 3 7
YIT_Plugin_Common::get_awesome_icons_code_by_value()
S
65 3 9
YIT_Pointers::add_pointers()
S
68 3 7
YITH_Debug::get_theme_info()
S
73 3 4
YIT_Metabox::set_tabs()
S
65 3 9
YIT_Upgrade::in_theme_update_message()
S
61 2 14
YIT_CPT_Unlimited::add_quick_links_metaboxes()
S
58 2 14
YITH_WCCOS_Admin::get_custom_statuses()
S
59 2 14
YIT_Gradients::_make_ie6_gradient()
S
60 2 13
YIT_Pointers::parse_args()
S
61 2 12
YIT_Ajax::__construct()
S
62 2 12
yit_wc_check_post_columns()
S
53 1 27
YIT_CPT_Unlimited::get_post_types()
S
62 2 12
YIT_Plugin_SubPanel::__construct()
S
60 2 12
YIT_Metabox::get_option_metabox_name()
S
62 2 11
yit_store_changes()
S
63 2 11
YIT_Plugin_Panel_WooCommerce::_init_actions()
S
61 2 11
YIT_Plugin_Panel_WooCommerce::print_panel_content()
S
63 2 11
YIT_Theme_Licence::get_old_licence_message()
S
61 1 17
YIT_Theme_Licence::add_submenu_page()
S
57 1 17
YIT_Metabox::get_option_metabox_id()
S
70 2 7
yit_get_display_price()
S
66 2 8
yit_get_price_including_tax()
S
66 2 8
yit_datetime_to_timestamp()
S
72 2 6
yith_get_terms()
S
65 2 9
YIT_Gradients::get()
S
73 2 5
YIT_Pointers::get_pointers()
S
78 2 3
YIT_Plugin_Panel_WooCommerce::add_fields()
S
67 2 8
YIT_Pointers::pointers()
S
71 2 5
YIT_Licence::update_licence_information()
S
66 2 9
YIT_Plugin_Panel_WooCommerce::get_available_tabs()
S
74 2 4
YIT_Icons::__get()
S
74 2 4
YIT_Gradients::set()
S
73 2 5
YITH_WCCOS_Admin::custom_columns()
S
67 2 7
YIT_CPT_Unlimited::cptu_change_columns()
S
61 2 10
YITH_Debug::get_woocommerce_version_info()
S
79 2 3
YIT_Gradients::reverse_gradient()
S
67 2 7
YIT_Licence::check_all()
S
73 2 5
yit_set_refund_amount()
S
67 2 9
YIT_Plugin_Panel::add_infobox()
S
70 2 6
yit_plugin_locate_template()
S
65 2 10
YIT_Pointers::instance()
S
72 2 6
YIT_Metabox::instance()
S
70 2 6
YIT_Plugin_Panel::_init_actions()
S
66 2 8
YIT_CPT_Unlimited::add_description_field()
S
77 2 3
YIT_Metabox::register_metabox()
S
71 2 5
YIT_CPT_Unlimited::add_layout_fields()
S
66 2 8
yit_get_products()
S
65 2 9
YITH_WCCOS_Admin::show_how_to_tab()
S
75 2 4
YIT_Assets::instance()
S
78 2 3
yit_get_refund_reason()
S
67 2 9
YIT_Gradients::light_or_dark()
S
64 2 8
YIT_Pointers::get_plugins_init()
S
68 2 7
YITH_WCCOS_Admin::get_premium_landing_uri()
S
77 2 3
YIT_Plugin_Licence::instance()
S
72 2 6
YIT_Metabox::remove_fields()
S
73 2 5
YIT_Plugin_Licence::register()
S
64 2 9
YIT_Upgrade::admin_enqueue_scripts()
S
72 2 5
YIT_CPT_Unlimited::shortcode_icon()
S
78 2 3
yit_get_product_image_id()
S
67 2 8
YIT_Icons::get_icons()
S
68 2 7
YITH_WCCOS_Admin::show_premium_tab()
S
75 2 4
YIT_Theme_Licence::instance()
S
72 2 6
yit_get_orders()
S
65 2 9
YIT_Licence::get_product_id()
S
77 2 3
YIT_Upgrade::instance()
S
72 2 6
YITH_Debug::get_instance()
S
78 2 3
YIT_Metabox::remove_tab()
S
73 2 5
YIT_Plugin_Panel_WooCommerce::add_allowed_screen_id()
S
66 2 8
YIT_Icons::get_instance()
S
78 2 3
YIT_Plugin_Panel::sort_plugins()
S
64 2 10
yit_get_price_excluding_tax()
S
66 2 8
YIT_CPT_Unlimited::add_item_fields()
S
68 2 7
YIT_Ajax::instance()
S
72 2 6
YIT_Licence::get_renewing_uri()
S
76 2 3
YIT_Licence::get_product()
S
78 2 3
YIT_Plugin_Panel::get_message()
S
69 2 7
YIT_Upgrade::remove_wp_plugin_update_row()
S
67 2 7
yit_get_refund_amount()
S
68 2 8
YIT_Theme_Licence::__construct()
S
58 1 14
YIT_Gradients::gradient_lighter()
S
61 1 14
YIT_Gradients::gradient_from_to()
S
61 1 14
YIT_Gradients::gradient_darker()
S
61 1 14
YIT_Plugin_Common::_loadThemeInfo()
S
60 1 13
YIT_Plugin_Panel_WooCommerce::yit_panel()
S
61 1 12
yith_wccos_lightness()
S
61 1 11
YIT_CPT_Unlimited::quick_links_cptu_inner()
S
69 1 6
YIT_Theme_Licence::get_product_type()
S
82 1 3
YIT_Plugin_Panel::get_id_field()
S
79 1 3
YIT_Licence::register()
S
100 1 0
yith_wccos_init()
S
66 1 8
YIT_Icons::__construct()
S
75 1 4
YIT_Upgrade::force_regenerate_update_transient()
S
81 1 3
YITH_WCCOS_Admin()
S
82 1 3
YIT_Licence::get_licence_activation_page_url()
S
77 1 3
YIT_Licence::get_licence()
S
80 1 3
YIT_CPT_Unlimited::admin_assets()
S
74 1 4
YITH_WCCOS_Frontend()
S
82 1 3
YIT_CPT_Unlimited::_get_post_type_by_name()
S
73 1 4
yith_plugin_fw_get_icon()
S
80 1 3
YIT_Plugin_Licence::get_product_type()
S
82 1 3
YIT_Licence::get_api_uri()
S
78 1 3
YITH_WCCOS()
S
82 1 3
yit_wpml_register_string()
S
79 1 3
YIT_Plugin_Licence::licence_after_check()
S
82 1 3
YIT_Plugin_Panel::register_settings()
S
77 1 3
YIT_CPT_Unlimited::_is_valid()
S
77 1 3
yit_get_order_id()
S
80 1 3
YITH_WCCOS::__construct()
S
72 1 5
YIT_Plugin_Common::get_awesome_icons()
S
79 1 3
YIT_CPT_Unlimited::add_table_columns()
S
79 1 3
YIT_Plugin_Common::get_awesome_icons_socials()
S
79 1 3
YIT_Plugin_Panel::print_video_box()
S
91 1 2
yit_encode_title()
S
74 1 4
yith_wccos_install_woocommerce_admin_notice()
S
72 1 7
YIT_Plugin_SubPanel::register_settings()
S
77 1 3
yit_remove_chars_title()
S
74 1 4
YIT_Plugin_Panel::print_custom_tab()
S
81 1 3
YIT_Assets::__construct()
S
79 1 3
YIT_Upgrade()
S
82 1 3
YIT_CPT_Unlimited::archive_template_loop()
S
78 1 3
yit_get_product_id()
S
80 1 3
yit_wpml_string_translate()
S
79 1 3
yit_plugin_decode_title()
S
74 1 4
YIT_Plugin_Panel_WooCommerce::yit_upload_update()
S
82 1 3
YIT_Gradients::_make_old_gradient()
S
80 1 3
yit_decode_title()
S
74 1 4
YIT_CPT_Unlimited::_get_id_by_name()
S
73 1 4
YIT_Plugin_Common::load()
S
77 1 4
yith_wccos_is_light_color()
S
80 1 3
YIT_Plugin_Licence::add_submenu_page()
S
65 1 10
YIT_Gradients::the_gradient()
S
79 1 3
yith_wccos_install_free_admin_notice()
S
72 1 7
YIT_Plugin_Common::get_icon_list()
S
70 1 6
YIT_CPT_Unlimited::cptu_define_columns()
S
73 1 5
YIT_CPT_Unlimited::enqueue_script()
S
77 1 3
YIT_Gradients::add_color_gradient()
S
72 1 5
YIT_Metabox()
S
81 1 3
YIT_Metabox::set_options()
S
81 1 3
YIT_CPT_Unlimited::recount_terms_post()
S
80 1 3
YIT_Plugin_Common::init()
S
74 1 4
YIT_CPT_Unlimited::enqueue_style()
S
77 1 3
YITH_Debug()
S
82 1 3
YITH_WCCOS_Frontend::__construct()
S
91 1 2
YIT_Licence::get_to_active_products()
S
79 1 3
YITH_Debug::__construct()
S
79 1 3
YIT_Plugin_Licence()
S
82 1 3
yith_plugin_registration_hook()
S
70 1 6
YIT_Plugin_Panel::add_videobox()
S
89 1 2
YIT_Icons::__isset()
S
79 1 3
YIT_Metabox::show()
S
75 1 4
YIT_Gradients::get_gradient()
S
79 1 3
YIT_Licence::display_product_name()
S
77 1 3
YIT_CPT_Unlimited::quick_links_cpt_inner()
S
69 1 6
YIT_Icons()
S
82 1 3
yit_add_extra_theme_headers()
S
77 1 4
YIT_Metabox::__construct()
S
82 1 3
YIT_Metabox::init()
S
66 1 8
YIT_Theme_Licence::show_old_licence_message()
S
80 1 3
YITH_WCCOS_Admin::order_status_columns()
S
64 1 9
YIT_Plugin_Panel::get_name_field()
S
78 1 3
YIT_Metabox::add_screen_ids_for_icons()
S
78 1 3
YIT_Licence::get_products()
S
82 1 3
yit_title_special_characters()
S
71 1 6
YITH_Debug::get_plugin_framework_info()
S
68 1 6
YIT_Icons::enqueue_scripts()
S
68 1 7
YIT_Plugin_Panel_WooCommerce::delete_default_options_set_option()
S
80 1 3
YIT_Pointers()
S
82 1 3
YIT_Gradients::getModel()
S
81 1 3
YIT_Theme_Licence()
S
82 1 3
YIT_Plugin_Panel::remove_duplicate_submenu_page()
S
80 1 3
YIT_Theme_Licence::register()
S
68 1 7