Code Analysis: Ultimate Blocks 2.5.5

Function Rating Maintainability Complexity Lines of code
Ultimate_Blocks_IconSet::generate_fontawesome_icon()
D
0
3 9,983
ub_include_block_attribute_css()
D
0
175 836
ub_render_how_to_block()
D
16
77 206
ub_simple_html_dom_node::seek()
D
22
66 157
ub_simple_html_dom::read_tag()
D
21
58 185
ub_render_review_block()
D
21
57 148
ub_render_table_of_contents_block()
D
27
46 112
ub_render_tabbed_content_block()
D
34 39 65
ub_render_post_grid_block()
C
29 27 134
ub_simple_html_dom::parse_charset()
C
34 27 93
ub_content_toggle_filter()
C
34 23 82
ub_simple_html_dom_node::parse_selector()
B
40 22 58
ub_render_styled_list_block()
B
37 18 70
ub_render_number_box_block()
B
45 20 33
ub_render_image_slider_block()
B
44 20 31
ub_render_social_share_block()
B
46 19 30
ub_render_countdown_block()
B
32 14 99
ub_render_button_block()
B
49 19 20
Ultimate_Blocks_Admin::toggle_block_status()
B
39 16 63
ub_simple_html_dom_node::outertext()
B
44 17 41
ub_makeListItem()
A
46 16 32
ub_simple_html_dom_node::get_display_size()
A
44 14 47
ub_simple_html_dom_node::find()
A
47 14 33
ub_simple_html_dom_node::is_utf8()
A
50 13 25
ub_render_styled_box_block()
A
45 12 40
ub_simple_html_dom_node::convert_text()
A
47 12 38
ultimate_blocks_cgb_block_assets()
A
48 12 35
ub_buttons_parse()
A
46 12 31
ub_render_call_to_action_block()
A
50 12 21
ub_simple_html_dom_node::dump_node()
A
45 10 44
ub_render_feature_box_block()
A
49 11 25
ub_simple_html_dom_node::text()
A
51 11 25
ub_render_progress_bar_block()
A
44 10 39
ub_load_assets()
A
45 10 37
ub_render_content_toggle_panel_block()
A
50 11 21
ub_simple_html_dom::parse_attr()
A
48 10 32
Ultimate_Blocks\includes\Ultimate_Blocks_Version_Control::ajax_version_rollback()
A
43 9 47
ultimate_blocks_cgb_editor_assets()
A
43 9 44
ub_simple_html_dom_node::match()
A
51 10 25
ub_render_star_rating_block()
A
49 10 25
ub_content_toggle_add_frontend_assets()
A
51 9 24
ub_render_content_filter_block()
A
47 8 32
ub_render_advanced_video_block()
A
54 9 17
ub_simple_html_dom_node::makeup()
A
49 8 31
generateISODurationCode()
A
48 8 30
ub_simple_html_dom_node::removeChild()
A
53 8 22
ub_render_expand_block()
A
54 8 18
ub_prepare_social_share_icon()
A
56 8 16
ub_simple_html_dom::clear()
S
54 7 24
Ultimate_Blocks_Util::blocks()
S
36 1 114
ub_simple_html_dom_node::addClass()
S
54 7 22
ub_simple_html_dom::restore_noise()
S
49 6 32
ub_render_click_to_tweet_block()
S
48 6 28
ub_render_testimonial_block()
S
52 6 25
ub_get_pinterest_icon()
S
51 6 25
ub_simple_html_dom::remove_noise()
S
52 6 23
ub_simple_html_dom_node::removeClass()
S
56 6 20
ub_makeList()
S
55 6 18
ub_checkInnerBlocks()
S
56 6 18
ub_update_css_version()
S
56 6 18
ub_simple_html_dom_node::find_ancestor_tag()
S
56 6 18
ub_simple_html_dom_node::__set()
S
56 6 17
ub_simple_html_dom_node::dump()
S
57 6 16
ub_simple_html_dom::__get()
S
61 6 14
ub_simple_html_dom_node::__get()
S
61 6 12
ub_tabbed_content_add_frontend_assets()
S
52 5 25
ub_table_of_contents_add_frontend_assets()
S
53 5 24
ub_faq_questions()
S
55 5 21
ub_simple_html_dom::__construct()
S
56 5 20
Ultimate_Blocks_Admin::UltimateBlocks_review_notice()
S
47 3 46
ub_button_add_frontend_assets()
S
57 5 16
ub_generate_widget_block_list()
S
57 5 16
ub_check_is_gutenberg_page()
S
63 6 10
ub_file_get_html()
S
53 4 24
ub_query_post()
S
53 4 21
ub_generateStarDisplay()
S
55 4 17
ub_get_reddit_icon()
S
56 4 17
ub_get_tumblr_icon()
S
56 4 17
Ultimate_Blocks_Admin::register_new_blocks()
S
58 4 16
ub_content_filter_add_frontend_assets()
S
58 4 16
ub_expand_block_add_frontend_assets()
S
58 4 16
ub_get_facebook_icon()
S
57 4 16
ub_simple_html_dom::parse()
S
58 4 15
ub_render_content_toggle_block()
S
64 5 8
ub_getPresentBlocks()
S
64 5 10
ub_get_linkedin_icon()
S
58 4 15
ub_get_twitter_icon()
S
57 4 15
ub_safe_welcome_redirect()
S
59 4 15
ub_simple_html_dom::copy_until_char()
S
59 4 14
ub_simple_html_dom_node::innertext()
S
61 4 13
ub_generateDigitArray()
S
59 4 13
ub_simple_html_dom_node::hasClass()
S
61 4 12
ub_simple_html_dom::load()
S
52 3 24
ub_register_styled_box_numbered_box_column_block()
S
51 2 33
ub_advanced_video_add_frontend_assets()
S
58 3 16
ub_str_get_html()
S
59 3 16
ub_progress_bar_add_frontend_assets()
S
58 3 16
ub_render_notification_box_block()
S
63 4 9
ub_simple_html_dom_node::next_sibling()
S
63 4 10
ub_simple_html_dom_node::__isset()
S
67 4 8
ub_simple_html_dom_node::prev_sibling()
S
63 4 10
ub_simple_html_dom::search_noise()
S
65 4 9
Ultimate_Blocks\includes\Version_Control_Upgrader_Skin::error()
S
68 4 7
ub_howto_generateStepPicStyle()
S
70 4 5
ub_countdown_add_frontend_assets()
S
59 3 15
ub_render_expand_portion_block()
S
62 4 10
Ultimate_Blocks_Activator::activate()
S
59 3 13
ub_register_content_filter_entry_block()
S
57 2 20
ub_simple_html_dom::prepare()
S
55 2 19
Ultimate_Blocks_Admin::enqueue_scripts()
S
56 2 19
ub_image_slider_add_frontend_assets()
S
60 2 16
ub_render_divider_block()
S
67 3 6
ub_render_content_filter_entry_block()
S
68 3 6
ub_render_tab_block()
S
66 3 7
Ultimate_Blocks_Loader::run()
S
66 3 8
ub_simple_html_dom::copy_skip()
S
65 3 8
Ultimate_Blocks_Admin::block_exists()
S
64 3 10
Ultimate_Blocks_Admin::is_block_registered()
S
64 3 10
ub_simple_html_dom_node::children()
S
66 3 9
Ultimate_Blocks_Deactivator::deactivate()
S
59 2 14
Ultimate_Blocks\includes\Ultimate_Blocks_Version_Control::get_plugin_versions_info()
S
60 2 13
ub_register_advanced_heading_block()
S
63 2 11
ub_blocks_register_rest_fields()
S
58 1 20
ub_generatePercentageBar()
S
59 1 18
Ultimate_Blocks_Admin::add_settings_menu_data()
S
56 1 18
Ultimate_Blocks::define_admin_hooks()
S
57 1 17
Ultimate_Blocks\includes\Ultimate_Blocks_Version_Control::add_settings_menu_data()
S
58 1 16
ub_simple_html_dom::copy_until()
S
67 2 7
ub_simple_html_dom::link_nodes()
S
69 2 7
ub_simple_html_dom::save()
S
72 2 5
ub_register_testimonial_block()
S
66 2 8
ub_register_progress_bar_block()
S
66 2 8
ub_register_review_block()
S
66 2 8
ub_convert_to_paragraphs()
S
64 2 10
ub_register_styled_box_bordered_box_block()
S
68 2 8
ub_register_content_toggle_block()
S
66 2 8
ub_register_tabbed_content_block()
S
66 2 8
pinterest_icon()
S
67 2 7
ub_register_table_of_contents_block()
S
66 2 8
reddit_icon()
S
67 2 7
ub_render_advanced_heading_block()
S
73 2 4
Ultimate_Blocks_Help::enqueue_scripts()
S
67 2 7
ub_blocks_get_image_src_landscape()
S
67 2 8
ub_simple_html_dom_node::parent()
S
68 2 8
ub_register_star_rating_block()
S
66 2 8
ub_register_click_to_tweet_block()
S
66 2 8
ub_register_call_to_action_block()
S
66 2 8
ub_register_advanced_video_block()
S
66 2 8
ub_register_expand_block()
S
66 2 8
ub_register_how_to_block()
S
66 2 8
linkedin_icon()
S
67 2 7
ub_simple_html_dom::as_text_node()
S
65 2 8
ub_register_feature_box_block()
S
66 2 8
ub_register_notification_box_block()
S
66 2 8
ub_register_styled_list_block()
S
66 2 8
ub_simple_html_dom_node::save()
S
69 2 7
ub_register_social_share_block()
S
65 2 9
ub_simple_html_dom_node::last_child()
S
72 2 6
ub_register_button_block()
S
66 2 8
ub_register_image_slider_block()
S
66 2 8
UltimateBlocks_Block_Category::register()
S
73 2 5
tumblr_icon()
S
67 2 7
ub_register_styled_box_block()
S
66 2 8
ub_simple_html_dom_node::first_child()
S
72 2 6
ub_register_styled_list_item_block()
S
66 2 8
twitter_icon()
S
67 2 7
ub_register_countdown_block()
S
66 2 8
ub_simple_html_dom::load_file()
S
67 2 8
UltimateBlocks_Block_Category::__construct()
S
67 2 8
ub_register_content_toggle_panel_block()
S
66 2 8
ub_register_tab_block()
S
66 2 8
ub_register_divider_block()
S
66 2 8
ub_simple_html_dom_node::__unset()
S
79 2 3
ub_register_number_box_block()
S
66 2 8
ub_register_post_grid_block()
S
66 2 8
ub_simple_html_dom::skip()
S
73 2 4
Ultimate_Blocks_Help::enqueue_styles()
S
67 2 7
ub_register_expand_portion_block()
S
66 2 8
facebook_icon()
S
67 2 7
googleplus_icon()
S
67 2 7
ub_register_content_filter_block()
S
66 2 8
ub_simple_html_dom_node::remove()
S
75 2 5
Ultimate_Blocks\includes\Version_Control_Upgrader_Skin::after()
S
70 2 6
ub_generateCircle()
S
61 1 12
Ultimate_Blocks_Help::register_help_admin_menu()
S
64 1 11
Ultimate_Blocks_Admin::register_admin_menus()
S
63 1 11
UltimateBlocks_Block_Category::block_categories()
S
64 1 11
ub_simple_html_dom::__destruct()
S
83 1 3
deactivate_ultimate_blocks()
S
76 1 4
ub_simple_html_dom_node::getElementById()
S
79 1 3
ub_simple_html_dom::getElementsByTagName()
S
80 1 3
Ultimate_Blocks_Constants::plugin_path()
S
78 1 3
Ultimate_Blocks\includes\Ultimate_Blocks_Version_Control::init_process()
S
74 1 4
ub_advanced_heading_add_assets()
S
80 1 3
ub_simple_html_dom_node::removeAttribute()
S
80 1 3
ub_simple_html_dom_node::nextSibling()
S
82 1 3
Ultimate_Blocks_i18n::load_plugin_textdomain()
S
69 1 7
Ultimate_Blocks_Admin::on_admin_init()
S
82 1 3
Ultimate_Blocks_Admin::main_menu_template_cb()
S
80 1 3
Ultimate_Blocks_Admin::insert_blocks_settings()
S
70 1 7
ub_simple_html_dom::set_callback()
S
82 1 3
Ultimate_Blocks_Loader::add_action()
S
77 1 3
ub_simple_html_dom_node::clear()
S
72 1 6
ub_simple_html_dom_node::lastChild()
S
82 1 3
Ultimate_Blocks\includes\Version_Control_Upgrader_Skin::feedback()
S
91 1 2
Ultimate_Blocks_Loader::__construct()
S
77 1 4
Ultimate_Blocks\includes\Ultimate_Blocks_Version_Control::current_plugin_version()
S
78 1 3
ub_simple_html_dom_node::getAllAttributes()
S
83 1 3
Ultimate_Blocks_Admin::UltimateBlocks_hide_review_notify()
S
73 1 5
ub_simple_html_dom::dump()
S
82 1 3
Ultimate_Blocks::run()
S
82 1 3
Ultimate_Blocks_Help::__construct()
S
71 1 6
ub_simple_html_dom_node::__toString()
S
82 1 3
ub_simple_html_dom::remove_callback()
S
82 1 3
ub_simple_html_dom_node::setAttribute()
S
80 1 3
ub_simple_html_dom_node::hasAttribute()
S
81 1 3
ub_simple_html_dom::getElementsById()
S
79 1 3
ub_simple_html_dom_node::appendChild()
S
77 1 4
ub_simple_html_dom_node::getElementsByTagName()
S
80 1 3
Ultimate_Blocks_Loader::add()
S
64 1 10
ub_simple_html_dom_node::hasChildNodes()
S
82 1 3
ub_simple_html_dom_node::getElementsById()
S
79 1 3
Ultimate_Blocks_Constants::plugin_name()
S
80 1 3
ub_simple_html_dom::createElement()
S
78 1 3
ub_simple_html_dom_node::getElementByTagName()
S
80 1 3
Ultimate_Blocks_Admin::enqueue_styles()
S
70 1 6
Ultimate_Blocks\includes\Version_Control_Upgrader_Skin::__construct()
S
76 1 4
ub_simple_html_dom_node::getAttribute()
S
81 1 3
Ultimate_Blocks_Help::help_page_cb()
S
80 1 3
Ultimate_Blocks_Public::__construct()
S
77 1 4
Ultimate_Blocks::__construct()
S
73 1 6
ub_render_styled_list_item_block()
S
75 1 4
ub_simple_html_dom::getElementByTagName()
S
80 1 3
ub_simple_html_dom_node::parentNode()
S
82 1 3
ub_simple_html_dom_node::firstChild()
S
82 1 3
ub_merge_faqpages()
S
70 1 7
activate_ultimate_blocks()
S
76 1 4
ub_simple_html_dom::getElementById()
S
79 1 3
Ultimate_Blocks_Admin::__construct()
S
67 1 7
run_ultimate_blocks()
S
77 1 4
Ultimate_Blocks::get_loader()
S
82 1 3
ub_simple_html_dom::firstChild()
S
82 1 3
ub_register_meta()
S
71 1 6
Ultimate_Blocks\includes\Version_Control_Upgrader_Skin::request_filesystem_credentials()
S
82 1 3
ub_render_styled_box_bordered_content()
S
83 1 3
Ultimate_Blocks_Loader::add_filter()
S
77 1 3
Ultimate_Blocks_Constants::plugin_url()
S
79 1 3
ub_simple_html_dom::loadFile()
S
77 1 4
ub_render_styled_box_numbered_box_column()
S
66 1 10
ub_simple_html_dom_node::xmltext()
S
70 1 6
ub_simple_html_dom_node::has_child()
S
80 1 3
ub_blocks_get_author_info()
S
72 1 5
ub_simple_html_dom::find()
S
79 1 3
ub_simple_html_dom_node::childNodes()
S
81 1 3
ub_simple_html_dom_node::__construct()
S
77 1 4
ub_howto_getStepPic()
S
81 1 3
ub_simple_html_dom_node::previousSibling()
S
82 1 3
ub_dump_html_tree()
S
82 1 3
Ultimate_Blocks\includes\Version_Control_Upgrader_Skin::footer()
S
91 1 2
Ultimate_Blocks_Public::enqueue_styles()
S
91 1 2
Ultimate_Blocks::set_locale()
S
75 1 4
Ultimate_Blocks\includes\Version_Control_Upgrader_Skin::header()
S
91 1 2
Ultimate_Blocks_Public::enqueue_scripts()
S
91 1 2
ub_simple_html_dom::createTextNode()
S
80 1 3
Ultimate_Blocks::define_public_hooks()
S
72 1 5
ub_simple_html_dom::childNodes()
S
81 1 3
Ultimate_Blocks_Admin::blocks()
S
76 1 4
ultimate_blocks_priority_editor_assets()
S
77 1 3
ub_simple_html_dom::__toString()
S
82 1 3
ub_register_settings()
S
69 1 7
ub_simple_html_dom_node::__destruct()
S
83 1 3
Ultimate_Blocks_Constants::text_domain()
S
81 1 3
ub_filterJsonldString()
S
79 1 3
ub_simple_html_dom::lastChild()
S
82 1 3
Ultimate_Blocks::load_dependencies()
S
66 1 9
Ultimate_Blocks_Constants::plugin_version()
S
80 1 3
ub_filter_time_display()
S
70 1 5
ub_simple_html_dom_node::nodeName()
S
83 1 3