Code Analysis: Administrator Z 2024.07.10

Function Rating Maintainability Complexity Lines of code
ADMINZ_Posts::_register_controls()
D
6
7 1,199
Adminz\Controller\Flatsome::register_settings()
D
15
18 525
ADMINZ_Posts::render()
D
22
39 191
Adminz\Helper\Xpathtranslator::convertSingleSelector()
D
24
39 177
Adminz\Controller\Flatsome::after_setup_theme()
D
28
36 132
Adminz\Controller\Tool::register_settings()
D
17
1 552
Adminz\Helper\Crawl::get_product_data()
C
30 27 126
Adminz\Controller\Woocommerce::plugin_loaded()
B
33 21 97
Adminz\Controller\Mailer::register_settings()
B
24
8 264
Adminz\Helper\Crawl::prepare_thumbnail_content()
B
38 19 62
Adminz\Controller\Woocommerce::register_settings()
B
25
5 252
Adminz\Controller\QuickContact::register_settings()
B
27
6 224
Adminz\Controller\Icons::get_icon_html()
B
40 16 56
Adminz\Controller\WpDefault::init()
B
36 13 94
Adminz\Helper\Crawl::get_post_data()
B
40 15 64
Adminz\Helper\FlatsomeAcfBanner::get_title()
A
46 16 38
Adminz\Helper\FlatsomeUxBuilder::post_meta_box()
A
36 13 83
Adminz\Controller\Enqueue::register_settings()
A
29
4 203
Adminz\Controller\WpDefault::register_settings()
A
29
3 199
Adminz\Helper\Cf7::make_form_tags()
A
47 14 33
Adminz\Helper\WooOrdering::get_discount_amount()
A
47 12 32
Adminz\Helper\WooAccountMenu::add_nav_item()
A
46 11 34
Adminz\Helper\TinhHuyenXa::apply_product_query()
A
46 10 45
Adminz\Helper\TaxonomySync::update_term_by_post_type()
A
41 9 59
Adminz\Helper\Xpathtranslator::preg_match_collated()
A
46 10 41
Adminz\Helper\FlatsomeAcfBanner::create_field()
A
31 1 173
ADMINZ_Category::call_children_html()
A
46 10 38
Adminz\Helper\FlatsomeELement::general_element()
A
47 9 35
Adminz\Controller\WpDefault::run()
A
48 9 34
Adminz\Helper\TinhHuyenXa::do_import_tinh_huyen_xa()
A
48 9 34
adminz_user_reset_password()
A
44 8 49
Adminz\Helper\OptionField::init_options()
A
45 8 43
Adminz\Helper\Crawl::crawl_post()
A
51 9 27
Adminz\Helper\Crawl::crawl_product_variable()
A
41 7 57
ADMINZ_Category::_register_controls()
A
38 5 82
adminz_replace_media()
A
39 6 64
Adminz\Helper\Crawl::make_return_check_list()
A
46 7 45
Adminz\Helper\FlatsomeUxBuilder::post_type_get_block_id()
A
51 8 26
Adminz\Helper\FlatsomeAcfBanner::get_breadcrumb()
A
56 8 20
Adminz\Helper\Flatsome::blog_shortcode()
A
55 8 19
Adminz\Helper\FlatsomeUxBuilder::taxonomy_build_adminbar_link()
S
50 7 29
Adminz\Helper\Crawl::prepare_product_data()
S
51 7 27
adminz_quick_contact_style2()
S
40 3 87
Adminz\Controller\QuickContact::init()
S
51 7 26
Adminz\Helper\Endpoint::init()
S
46 6 40
Adminz\Helper\FlatsomeUxBuilder::term_taxonomy_meta_box()
S
44 5 53
Adminz\Helper\FlatsomeAcfBanner::get_banner()
S
57 7 19
Adminz\Controller\Enqueue::init()
S
56 7 19
adminz_enqueue_font_uploaded()
S
46 5 48
Adminz\Helper\Crawl::check_adminz_import_from_product_category()
S
49 6 33
Adminz\Helper\Crawl::check_adminz_import_from_category()
S
49 6 32
Adminz\Helper\WooAccountMenu::remove_nav_item()
S
60 7 13
Adminz\Helper\WooAccountMenu::change_nav_item()
S
60 7 13
adminz_get_meta_values()
S
51 6 27
Adminz\Controller\QuickContact::load_settings()
S
40 3 69
Adminz\Helper\WooMessage::add_js()
S
48 1 98
Adminz\Helper\WooTooltip::__construct()
S
42 1 98
adminz_woo_form_field()
S
53 6 23
ADMINZ_Category::render()
S
44 4 52
Adminz\Helper\TinhHuyenXa::do_delete_tinh_huyen_xa()
S
54 6 22
Adminz\Helper\FlatsomeUxBuilder::taxonomy_build_template()
S
54 6 21
Adminz\Helper\FlatsomeUxBuilder::post_type_layout_build_template()
S
54 6 20
Adminz\Helper\Crawl::make_return_check_single()
S
51 5 34
Adminz\Helper\FlatsomeAcfBanner::get_banner_height()
S
57 6 18
Adminz\Helper\FlatsomeAcfBanner::get_shortcode()
S
57 6 18
Adminz\Helper\FlatsomeAcfBanner::create_html()
S
51 5 32
Adminz\Helper\Crawl::save_image()
S
44 4 46
Adminz\Helper\Crawl::crawl_product()
S
59 6 14
Adminz\Helper\TaxonomySync::run()
S
53 5 20
Adminz\Controller\Mailer::setup_mail()
S
54 5 20
Adminz\Helper\FlatsomeUxBuilder::post_type_build_adminbar_link()
S
56 5 19
Adminz\Helper\FlatsomeUxBuilder::post_type_layout_build_adminbar_link()
S
55 5 19
ux_lightbox_custom()
S
45 3 49
Adminz\Helper\FlatsomePortfolio::__construct()
S
55 5 18
adminz_enqueue_font_supported()
S
50 4 32
Adminz\Controller\Mailer::adminz_test_email()
S
49 4 32
ADMINZ_Posts::get_terms()
S
58 5 16
Adminz\Controller\Admin::html()
S
48 3 42
Adminz\Helper\Flatsome::adminz_do_header_element()
S
62 5 11
Adminz\Helper\OptionField::input_checkbox()
S
62 5 11
Adminz\Helper\Acf::get_field_label()
S
52 4 26
Adminz\Helper\WooVariation::wc_wc20_grouped_price_format()
S
53 4 23
Adminz\Helper\TaxonomySync::add_acf_fields()
S
43 2 53
Adminz\Helper\TinhHuyenXa::field_huyen()
S
53 4 23
adminz_upload_media()
S
53 4 22
Adminz\Helper\TinhHuyenXa::field_xa()
S
54 4 22
adminz_get_meta_options()
S
54 4 21
Adminz\Helper\TaxonomyThumbnail::__construct()
S
53 4 21
Adminz\Helper\Crawl::load_html()
S
55 4 20
Adminz\Helper\WooMessage::add_html()
S
56 4 19
Adminz\Helper\Crawl::make_return_run_single()
S
57 4 18
Adminz\Helper\WooOrdering::apply_order_query()
S
57 4 17
Adminz\Controller\Icons::register_settings()
S
48 2 47
Adminz\Helper\OptionField::init()
S
57 4 16
Adminz\Helper\OptionField::get_note()
S
59 4 16
Adminz\Helper\TinhHuyenXa::maybe_add_term()
S
59 4 16
adminz_quick_contact_style6()
S
47 2 46
ADMINZ_Category::sort_terms_hierarchically()
S
57 4 16
Adminz\Helper\WooPhotoswipe::enqueue()
S
45 1 60
Adminz\Helper\Crawl::save_taxonomy()
S
59 4 15
Adminz\Controller\Admin::admin_enqueue_scripts()
S
51 3 30
Adminz\Controller\Tool::adminz_replace_image()
S
58 4 15
Adminz\Helper\OptionField::get_attribute()
S
60 4 12
Adminz\Helper\WooVariation::wc_wc20_variation_price_format()
S
61 4 11
Adminz\Helper\TinyMce::__construct()
S
53 3 26
adminz_woo_form_field_meta()
S
52 3 25
adminz_woo_form_field_attribute()
S
52 3 24
adminz_woo_form_field_tax()
S
53 3 23
Adminz\Helper\TaxonomySync::get_terms()
S
55 3 22
adminz_quick_contact_style5()
S
50 2 36
Adminz\Helper\OptionField::select()
S
56 3 21
adminz_quick_contact_style3()
S
50 2 36
adminz_woo_form_field_classes()
S
55 3 20
Adminz\Helper\TinhHuyenXa::field_tinh()
S
54 3 20
Adminz\Helper\TaxonomyThumbnail::get_input_image_field()
S
58 3 17
adminz_user_image_auto_excerpt()
S
58 3 17
ADMINZ_Posts::get_not_in_ids()
S
58 3 16
Adminz\Controller\Admin::wp_enqueue_script()
S
51 2 30
Adminz\Helper\OptionField::get_copy()
S
60 3 15
Adminz\Helper\TaxonomyThumbnail::add_term_admin_column_value()
S
59 3 15
adminz_quick_contact_style4()
S
51 2 30
adminz_maybeJson()
S
64 4 10
Adminz\Helper\Crawl::__construct()
S
58 3 14
Adminz\Controller\ContactForm7::register_settings()
S
47 1 43
Adminz\Controller\Tool::adminz_crawl()
S
60 3 13
adminz_quick_contact_style10()
S
52 2 28
adminz_quick_contact_style1()
S
53 2 27
Adminz\Helper\Crawl::check_post_exist()
S
62 3 12
ADMINZ_Test::_register_controls()
S
48 1 41
Adminz\Helper\FlatsomeUxBuilder::taxonomy_get_block_id()
S
62 3 11
Adminz\Helper\TaxonomySync::add_term_admin_column_value()
S
62 3 11
adminz_countview_function()
S
52 2 26
Adminz\Helper\Flatsome::logo_mobile()
S
55 2 24
Adminz\Helper\TinhHuyenXa::term_row()
S
55 2 23
adminz_woo_form_field_submit()
S
57 2 22
Adminz\Helper\WooMessage::add_css()
S
64 2 17
Adminz\Helper\WooOrdering::setup_ordering()
S
56 2 17
Adminz\Helper\Crawl::crawl_product_grouped()
S
57 2 17
ADMINZ_Posts::get_default()
S
65 3 10
Adminz\Helper\Flatsome::adminz_register_header_element()
S
67 3 8
Adminz\Controller\ContactForm7::plugin_loaded()
S
68 3 8
Adminz\Helper\FlatsomeUxBuilder::post_type_content_support()
S
67 3 9
Adminz\Controller\ContactForm7::anti_spam_Cf7_levantoan()
S
59 2 15
Adminz\Helper\TaxonomySync::delete_term_by_post_type()
S
64 3 10
Adminz\Helper\TaxonomySync::add_term_admin_column()
S
63 3 10
Adminz\Helper\Category::__construct()
S
67 3 8
Adminz\Helper\TaxonomyThumbnail::add_term_admin_column()
S
64 3 10
ADMINZ_Category::get_default()
S
65 3 10
Adminz\Helper\TinhHuyenXa::admiz_tinhhuyenxa_get_data()
S
63 3 10
adminz_get_taxonomy_options()
S
63 3 10
adminz_tmp()
S
67 3 8
adminz_woo_form_label()
S
62 2 15
adminz_get_attribute_options()
S
63 3 10
Adminz\Helper\Crawl::create_attribute_if_not_exists()
S
59 2 14
Adminz\Controller\Icons::cleansvg()
S
60 2 14
Adminz\Helper\TinhHuyenXa::register_taxonomy()
S
51 1 28
adminz_user_admin_notice()
S
63 2 13
Adminz\Helper\Xpathtranslator::convert()
S
62 2 12
Adminz\Helper\FlatsomePortfolio::change_featured_category()
S
52 1 25
Adminz\Helper\FlatsomePortfolio::change_featured_tag()
S
52 1 25
Adminz\Helper\TaxonomySync::update_post_type_by_term()
S
52 1 25
adminz_enable_zalo_support()
S
54 1 25
Adminz\Helper\FlatsomePortfolio::change_featured()
S
55 1 19
Adminz\Helper\Category::taxonomy_description()
S
57 1 19
Adminz\Controller\Elementor::register_settings()
S
59 1 18
Adminz\Helper\Flatsome::default_menu()
S
59 1 16
Adminz\Controller\Mailer::pre_wp_mail()
S
69 2 7
Adminz\Helper\TinhHuyenXa::add_woo_search_field_types()
S
71 2 6
Adminz\Helper\WooPhotoswipe::init()
S
70 2 7
adminz_get_list_icons()
S
67 2 7
Adminz\Controller\Icons::get_instance()
S
72 2 6
Adminz\Helper\TinhHuyenXa::general_field_html()
S
72 2 5
adminz_test()
S
65 2 9
adminz_get_settings()
S
70 2 7
adminz_explode()
S
79 2 3
adminz_is_flatsome()
S
78 2 3
Adminz\Helper\OptionField::input()
S
67 2 7
Adminz\Controller\Elementor::get_instance()
S
72 2 6
Adminz\Helper\TaxonomySync::delete_post_type_by_term()
S
69 2 7
Adminz\Controller\QuickContact::get_instance()
S
72 2 6
Adminz\Helper\Crawl::get_image_src()
S
69 2 7
Adminz\Helper\WooOrdering::save_discount_amount()
S
66 2 9
Adminz\Helper\FlatsomeUxBuilder::post_type_layout_support()
S
69 2 8
ADMINZ_Posts::get_authors()
S
67 2 8
Adminz\Helper\WooMessage::add_div_error_login_form()
S
66 2 10
Adminz\Helper\Crawl::create_attribute_tag_if_not_exists()
S
70 2 6
Adminz\Controller\Admin::get_current_group()
S
69 2 7
Adminz\Controller\Mailer::get_instance()
S
72 2 6
Adminz\Helper\Endpoint::check_user_has_endpoint()
S
67 2 8
Adminz\Controller\Admin::get_instance()
S
72 2 6
Adminz\Helper\Flatsome::adminz_register_my_menus()
S
74 2 5
Adminz\Controller\WpDefault::get_instance()
S
72 2 6
Adminz\Controller\ContactForm7::get_instance()
S
72 2 6
Adminz\Controller\Tool::get_instance()
S
72 2 6
Adminz\Helper\FlatsomeUxBuilder::taxonomy_layout_support()
S
69 2 8
Adminz\Helper\Acf::__construct()
S
75 2 5
Adminz\Helper\FlatsomeUxBuilder::save_custom_taxonomy_metabox()
S
70 2 6
Adminz\Controller\Woocommerce::get_instance()
S
72 2 6
Adminz\Controller\Elementor::plugin_loaded()
S
73 2 5
Adminz\Helper\Crawl::get_xpath_query()
S
74 2 4
Adminz\Helper\TaxonomySync::init()
S
67 2 9
Adminz\Controller\Enqueue::get_instance()
S
72 2 6
Adminz\Controller\Flatsome::get_instance()
S
72 2 6
Adminz\Controller\Icons::load_settings()
S
71 2 5
Adminz\Helper\TaxonomyThumbnail::save_image()
S
72 2 5
adminz_woo_search_field()
S
60 1 15
Adminz\Helper\WooAccountMenu::init()
S
67 2 9
Adminz\Helper\Comment::check_comment_spam()
S
68 2 7
Adminz\Helper\WooVariation::fix_footer()
S
66 1 14
Adminz\Controller\Tool::__construct()
S
59 1 14
Adminz\Helper\TinhHuyenXa::get_term_child()
S
63 1 11
Adminz\Helper\WooVariation::fix_after_single_variation()
S
68 1 11
Adminz\Helper\OptionField::input_date()
S
82 1 3
Adminz\Controller\WpDefault::__construct()
S
66 1 8
Adminz\Helper\Crawl::run_adminz_import_from_category()
S
82 1 3
Adminz\Helper\OptionField::input_file()
S
82 1 3
Adminz\Helper\OptionField::__construct()
S
70 1 6
Adminz\Helper\OptionField::textarea()
S
70 1 7
Adminz\Test::__construct()
S
76 1 4
Adminz\Controller\QuickContact::__construct()
S
69 1 6
Adminz\Controller\QuickContact::add_admin_nav()
S
77 1 4
Adminz\Helper\Crawl::set_return_type()
S
82 1 3
Adminz\Helper\TaxonomySync::__construct()
S
100 1 1
Adminz\Helper\WooAccountMenu::run()
S
76 1 5
Adminz\Helper\OptionField::input_submit()
S
82 1 3
adminz_get_icon()
S
75 1 4
Adminz\Helper\WooVariation::__construct()
S
100 1 2
ADMINZ_Test::get_script_depends()
S
81 1 3
Adminz\Helper\WooOrdering::replace_ordering_form()
S
83 1 3
Adminz\Helper\TaxonomyThumbnail::thumbnail_field_in_add_term()
S
72 1 8
Adminz\Controller\Mailer::load_settings()
S
79 1 3
ADMINZ_Posts::get_keywords()
S
80 1 3
Adminz\Helper\FlatsomeAcfBanner::create_hook()
S
75 1 5
Adminz\Helper\OptionField::input_password()
S
82 1 3
Adminz\Helper\Comment::__construct()
S
74 1 4
Adminz\Helper\WooMessage::change_form_login_message()
S
72 1 5
Adminz\Controller\Tool::add_admin_nav()
S
77 1 4
ADMINZ_Test::get_name()
S
82 1 3
Adminz\Helper\WooOrdering::__construct()
S
100 1 2
Adminz\Controller\Flatsome::add_admin_nav()
S
77 1 4
Adminz\Helper\TaxonomyThumbnail::thumbnail_field_in_edit_term()
S
70 1 10
adminz_form_field()
S
75 1 4
Adminz\Controller\Woocommerce::load_settings()
S
79 1 3
Adminz\Helper\TaxonomySync::get_post()
S
73 1 5
Adminz\Controller\Elementor::load_settings()
S
79 1 3
Adminz\Helper\Crawl::run_adminz_import_from_product()
S
73 1 5
Adminz\Helper\TinhHuyenXa::__construct()
S
63 1 10
Adminz\Helper\TaxonomySync::get_term_sync()
S
81 1 3
Adminz\Controller\Enqueue::__construct()
S
69 1 6
Adminz\Helper\Crawl::run_adminz_import_from_product_category()
S
82 1 3
Adminz\Helper\Crawl::init()
S
79 1 3
Adminz\Helper\Xpathtranslator::__toString()
S
81 1 3
Adminz\Controller\Woocommerce::add_admin_nav()
S
77 1 4
adminz_preview_text()
S
79 1 3
Adminz\Controller\Elementor::add_admin_nav()
S
77 1 4
Adminz\Helper\Crawl::check_adminz_import_from_product()
S
81 1 3
adminz_copy()
S
75 1 5
ADMINZ_Test::get_icon()
S
82 1 3
Adminz\Helper\WooVariation::setup_hide_max_price()
S
67 1 7
Adminz\Controller\Enqueue::add_admin_nav()
S
77 1 4
ADMINZ_Test::get_keywords()
S
81 1 3
Adminz\Controller\ContactForm7::allow_shortcode()
S
74 1 5
Adminz\Helper\OptionField::input_text()
S
71 1 7
ADMINZ_Posts::get_post_types()
S
78 1 3
ADMINZ_Category::get_name()
S
82 1 3
Adminz\Controller\Flatsome::load_settings()
S
79 1 3
ADMINZ_Posts::get_name()
S
82 1 3
ADMINZ_Posts::get_icon()
S
82 1 3
Adminz\Helper\Category::tinymce_category_helper()
S
73 1 5
Adminz\Helper\Crawl::fix_product_price()
S
73 1 4
Adminz\Helper\OptionField::input_button()
S
82 1 3
Adminz\Controller\WpDefault::add_admin_nav()
S
77 1 4
Adminz\Helper\TaxonomySync::get_term_meta_key()
S
81 1 3
Adminz\Helper\Crawl::crawl_product_simple()
S
71 1 6
Adminz\Helper\WooMessage::__construct()
S
83 1 3
ADMINZ_Test::get_title()
S
82 1 3
Adminz\Helper\Flatsome::create_adminz_header_element()
S
75 1 4
Adminz\Helper\WooPhotoswipe::__construct()
S
100 1 2
Adminz\Helper\FlatsomeAcfBanner::__construct()
S
76 1 4
Adminz\Controller\Flatsome::__construct()
S
70 1 6
adminz_woo_form_field_name()
S
67 1 8
Adminz\Helper\TinhHuyenXa::import()
S
100 1 2
Adminz\Controller\ContactForm7::load_settings()
S
79 1 3
Adminz\Controller\Enqueue::load_settings()
S
66 1 8
adminz_enqueue_js()
S
68 1 9
Adminz\Helper\OptionField::input_number()
S
82 1 3
Adminz\Controller\Admin::__construct()
S
69 1 6
ADMINZ_Test::render()
S
71 1 6
adminz_enqueue_css()
S
68 1 9
Adminz\Helper\Xpathtranslator::__construct()
S
77 1 4
Adminz\Controller\Icons::get_icon_url()
S
79 1 3
Adminz\Controller\ContactForm7::__construct()
S
70 1 6
ADMINZ_Posts::get_title()
S
79 1 3
Adminz\Controller\Admin::get_adminz_tool_url()
S
79 1 3
Adminz\Helper\Crawl::check_adminz_import_from_post()
S
81 1 3
Adminz\Helper\Crawl::run_adminz_import_from_post()
S
73 1 5
Adminz\Helper\OptionField::input_time()
S
82 1 3
Adminz\Helper\Cf7::__construct()
S
100 1 2
Adminz\Controller\Mailer::__construct()
S
67 1 7
Adminz\Controller\WpDefault::load_settings()
S
79 1 3
ADMINZ_Category::get_title()
S
82 1 3
Adminz\Helper\Flatsome::__construct()
S
76 1 5
Adminz\Controller\Elementor::__construct()
S
70 1 6
ADMINZ_Category::get_categories()
S
81 1 3
Adminz\Controller\Admin::add_action_links()
S
69 1 7
Adminz\Helper\FlatsomeUxBuilder::init()
S
100 1 2
Adminz\Helper\TaxonomySync::get_term()
S
81 1 3
Adminz\Helper\Endpoint::__construct()
S
100 1 2
ADMINZ_Category::get_keywords()
S
79 1 3
Adminz\Controller\Icons::__construct()
S
72 1 5
Adminz\Helper\WooAccountMenu::__construct()
S
100 1 2
Adminz\Helper\Comment::custom_comment_form_fields()
S
77 1 4
ADMINZ_Posts::get_categories()
S
81 1 3
Adminz\Controller\Mailer::add_admin_nav()
S
77 1 4
Adminz\Controller\Admin::create_option_page()
S
66 1 10
Adminz\Controller\Woocommerce::__construct()
S
70 1 6
ADMINZ_Test::get_categories()
S
81 1 3
Adminz\Helper\WooOrdering::setup_save_discount_data()
S
78 1 3
Adminz\Controller\ContactForm7::add_admin_nav()
S
77 1 4
ADMINZ_Category::get_icon()
S
82 1 3
Adminz\Helper\Xpathtranslator::asXPath()
S
80 1 3
Adminz\Helper\FlatsomeELement::__construct()
S
100 1 2
Adminz\Controller\Icons::add_admin_nav()
S
77 1 4
Adminz\Helper\FlatsomeUxBuilder::__construct()
S
100 1 2
Adminz\Controller\Tool::load_settings()
S
79 1 3