Code Analysis: Blocksy Companion 1.8.49

Function Rating Maintainability Complexity Lines of code
Blocksy\ConditionsManager::resolve_single_condition()
D
15
85 240
Blocksy\DemoInstallContentExport::export()
D
13
43 374
Blocksy_WP_Import::process_posts()
D
19
54 199
Blocksy\ThemeIntegration::__construct()
D
15
35 360
Blocksy\OpenGraphMetaData::output_meta_tags()
D
27
46 115
BlocksyExtensionProductReviews::__construct()
D
15
26 413
Blocksy\DemoInstallContentInstaller::import()
D
23
30 208
Blocksy\ConditionsManager::get_all_rules()
D
21
23 306
Blocksy\HeaderAdditions::__construct()
D
24
29 205
Blocksy\CacheResetManager::run_cache_purge()
D
31 35 100
WXR_Parser_SimpleXML::parse()
C
25
25 174
Blocksy\ConditionsManager::resolve_single_condition_with_prefix()
C
35 26 87
Blocksy\DemoInstallOptionsInstaller::import_images()
B
37 21 83
Blocksy\DemoInstallOptionsInstaller::import_options()
B
36 21 82
Blocksy\CustomizerOptionsManager::__construct()
B
35 20 90
blc_get_trending_posts_value()
B
31 17 123
Blocksy_WP_Import::process_menu_item()
B
38 20 63
WXR_Parser_XML::tag_close()
B
40 20 59
Blocksy\Dashboard::__construct()
B
30 15 133
Blocksy\AccountAuth::blc_implement_user_registration()
B
35 16 96
Blocksy_WP_Import::get_author_mapping()
B
42 19 46
blc_get_contacts_output()
B
34 15 104
Blocksy\ConditionsManager::humanize_conditions()
B
40 17 61
Blocksy\HeaderAdditions::patch_conditions()
B
41 17 60
Blocksy\HeaderAdditions::current_screen_has_transparent()
B
37 14 85
WXR_Parser_Regex::parse()
A
40 14 57
BlocksyExtensionNewsletterSubscribe::__construct()
A
30 7 155
Blocksy\DemoInstallPluginsInstaller::import()
A
42 13 58
WXR_Parser_XML::tag_open()
A
49 15 27
WXR_Parser_Regex::process_post()
A
35 11 84
BlocksyExtensionTrending::__construct()
A
35 9 98
Blocksy_WP_Import::process_terms()
A
45 13 37
Blocksy_WP_Import::process_categories()
A
45 13 37
blc_ext_newsletter_subscribe_output_form()
A
38 10 79
Blocksy\DemoInstallFinalActions::import()
A
41 11 60
WXR_Parser::parse()
A
48 13 28
Blocksy\ConditionsManager::condition_matches()
A
44 11 52
Blocksy\Cli::__construct()
A
35 7 108
Blocksy\DemoInstallOptionsExport::export()
A
43 11 47
Blocksy\CustomizerOptionsManager::get_data()
A
43 11 46
Blocksy\DemoInstallFinalActions::replace_urls()
A
41 10 60
Blocksy_WP_Import::fetch_remote_file()
A
44 11 41
Blocksy_WP_Import::backfill_parents()
A
51 12 26
Blocksy\DemoInstallWidgetsInstaller::handle_single_sidebar()
A
42 10 55
Blocksy\AccountAuth::blc_implement_user_lostpassword()
A
40 9 64
Blocksy_WP_Import::process_tags()
A
47 11 31
Blocksy\DemoInstallWidgetsExport::export()
A
49 11 31
Blocksy\DemoInstallWidgetsInstaller::import()
A
42 9 60
Blocksy\DynamicCss::__construct()
A
42 9 58
Blocksy\Plugin::check_if_blocksy_is_activated()
A
46 10 41
Blocksy\DemoInstallOptionsInstaller::import()
A
44 9 52
blocksy_akg()
A
49 10 33
Blocksy\DemoInstallOptionsInstaller::sideload_image()
A
43 9 47
Blocksy\ExtensionsManager::boot_activated_extension_for()
A
50 10 28
Blocksy\CacheResetManager::handle_update()
A
52 10 27
BlocksyMailchimpManager::get_form_url_and_gdpr_for()
A
47 9 40
Blocksy\GoogleAnalytics::__construct()
A
46 8 50
blc_ext_newsletter_subscribe_form()
A
41 7 64
Blocksy\DemoInstallContentInstaller::assign_pages_ids()
A
48 9 33
Blocksy\HeaderAdditions::current_screen_has_sticky()
A
46 8 44
blc_get_trending_block()
A
40 6 70
Blocksy\DynamicCss::maybe_prepare_theme_uploads_path()
A
46 8 40
Blocksy\DemoInstallFakeContentEraser::reset_widgets_data()
A
49 8 34
Blocksy_WP_Import::author_select()
A
47 8 33
Blocksy\DemoInstallFinalActions::maybe_activate_elementor_experimental_container()
A
50 8 32
Blocksy\DemoInstallContentEraser::reset_widgets_data()
A
50 8 31
BlocksyMailchimpManager::fetch_lists()
A
45 7 46
Blocksy\ThemeIntegration::svg_dimensions()
A
49 8 31
Blocksy\ExtensionsManager::register_fake_extensions()
A
37 3 104
Blocksy\DemoInstallWidgetsInstaller::import_data()
A
51 8 27
Blocksy\DemoInstallFakeContentEraser::move_sidebar_widget()
A
48 7 34
Blocksy\DemoInstall::blocksy_demo_list()
A
49 7 32
Blocksy\DynamicCss::enqueue_dynamic_css()
S
50 7 29
Blocksy\DynamicCss::has_direct_access()
S
51 7 27
Blocksy\HeaderAdditions::has_account_modal()
S
52 7 27
Blocksy\ExtensionsManager::maybe_do_extension_preboot()
S
51 7 26
Blocksy\DemoInstallContentInstaller::create_authors_for_mapping()
S
47 6 39
Blocksy_WP_Import::dispatch()
S
53 7 23
BlocksyExtensionProductReviews::get_settings()
S
54 7 22
Blocksy\Plugin::early_init()
S
54 7 22
blc_load_xml_file()
S
48 6 33
Blocksy\DemoInstallFinalActions::handle_brizy_posts()
S
58 7 16
Blocksy\ExtensionsManagerApi::blocksy_extensions_status()
S
51 6 28
BlocksyExtensionCookiesConsent::__construct()
S
43 4 57
BlocksyWidgetFactory::widget()
S
52 6 26
Blocksy_WP_Import::process_attachment()
S
51 6 25
BlocksyExtensionProductReviews::save_meta_box()
S
53 6 25
Blocksy\DynamicCss::generate_css_files()
S
52 6 25
Blocksy\DemoInstallChildThemeInstaller::import()
S
44 4 52
Blocksy_WP_Import::import_options()
S
50 5 31
BlocksyMailerliteManager::fetch_lists()
S
51 5 30
Blocksy\HeaderAdditions::enqueue_static()
S
45 4 44
Blocksy_WP_Import::handle_upload()
S
50 5 28
Blocksy\DemoInstallPluginsUninstaller::import()
S
52 5 27
Blocksy\ExtensionsManager::activate_extension()
S
53 5 24
blocksy_ext_cookies_consent_output()
S
48 4 37
Blocksy\ExtensionsManager::deactivate_extension()
S
54 5 22
Blocksy\DemoInstallContentEraser::reset_previous_terms()
S
55 5 20
BlocksyExtensionProductReviewsPreBoot::ext_action()
S
56 5 20
WXR_Parser_Regex::get_tag()
S
54 5 20
Blocksy_WP_Import::get_authors_from_import()
S
55 5 19
Blocksy\DemoInstallContentEraser::reset_customizer()
S
56 5 19
Blocksy_WP_Import::process_termmeta()
S
56 5 18
Blocksy\Autoloader::autoload()
S
56 5 18
Blocksy\ExtensionsManager::get()
S
57 5 18
BlocksyMailerliteManager::subscribe_form()
S
45 3 47
Blocksy\DemoInstallChildThemeInstaller::make_screenshot()
S
57 5 17
Blocksy\CustomizerOptionsManager::get_theme_mods()
S
58 5 15
map_deep()
S
58 5 15
BlocksyExtensionProductReviews::declare_cpt()
S
39 1 73
Blocksy\HeaderAdditions::retrieve_account_modal()
S
51 4 27
wxr_authors_list()
S
51 4 25
Blocksy\ExtensionsManager::read_config_for()
S
53 4 24
Blocksy\DemoInstall::blocksy_demo_register_current_demo()
S
54 4 22
BlocksyExtensionProductReviewsPreBoot::__construct()
S
54 4 22
BlocksyExtensionNewsletterSubscribe::newsletter_subscribe_process_mailerlite_subscribe()
S
55 4 21
Blocksy\DemoInstallContentEraser::import()
S
56 4 20
Blocksy\DemoInstallFakeContentEraser::import()
S
55 4 20
BlocksyExtensionNewsletterSubscribePreBoot::maybe_save_credentials()
S
56 4 20
BlocksyWidgetFactory::blocksy_id_to_title()
S
56 4 19
Blocksy\DemoInstallFakeContentEraser::reset_previous_terms()
S
56 4 18
Blocksy\DemoInstallContentInstaller::__construct()
S
58 4 17
Blocksy\DemoInstallFakeContentEraser::reset_customizer()
S
57 4 17
Blocksy\DemoInstallOptionsInstaller::__construct()
S
58 4 17
Blocksy\DemoInstallPluginsInstaller::__construct()
S
58 4 17
Blocksy\DemoInstallWidgetsInstaller::__construct()
S
58 4 17
Blocksy\DemoInstallOptionsInstaller::sideload_image_for_url()
S
58 4 16
Blocksy\DemoInstallWidgetsExport::available_widgets()
S
59 4 16
Blocksy\DemoInstallWidgetsInstaller::available_widgets()
S
59 4 16
blocksy_get_product_review_overall_score()
S
49 3 31
Blocksy\DemoInstallContentEraser::erase_default_pages()
S
58 4 16
BlocksyWidgetFactory::update()
S
60 4 14
Blocksy\DemoInstallContentInstaller::clean_plugins_cache()
S
60 4 14
WXR_Parser_XML::parse()
S
49 3 29
wxr_nav_menu_terms()
S
59 4 14
BlocksyExtensionWidgets::__construct()
S
52 3 27
Blocksy\ConditionsManager::find_rule_descriptor()
S
63 4 11
Blocksy\DemoInstall::fetch_single_demo()
S
52 3 26
BlocksyWidgetFactory::read_options()
S
53 3 24
Blocksy\DemoInstall::blocksy_demo_export()
S
47 2 38
Blocksy\Dashboard::enqueue_static()
S
54 3 23
Blocksy\GoogleAnalytics::generate_google_analytics_opts()
S
45 1 53
BlocksyWidgetFactory::form()
S
54 3 22
Blocksy_WP_Import::import_start()
S
54 3 21
BlocksyExtensionProductReviews::setup_meta_box()
S
48 2 35
Blocksy\ExtensionsManager::__construct()
S
57 3 19
blocksy_ordered_keys()
S
57 3 19
Blocksy\DemoInstallContentEraser::reset_previous_posts()
S
56 3 18
BlocksyWidgetFactory::__construct()
S
50 2 32
Blocksy\Autoloader::load_class()
S
57 3 17
Blocksy\DemoInstallFakeContentEraser::get_widget_data()
S
57 3 17
Blocksy\ExtensionsManager::get_extensions()
S
58 3 17
Blocksy\DemoInstallFinalActions::get_pages()
S
57 3 17
Blocksy\DemoInstall::start_streaming()
S
57 3 16
BlocksyExtensionNewsletterSubscribePreBoot::__construct()
S
51 2 31
blc_call_fn()
S
59 3 16
Blocksy_WP_Import::remap_featured_images()
S
65 4 9
Blocksy\ExtensionsManager::read_installed_extensions()
S
59 3 15
WXR_Parser_XML::cdata()
S
65 4 9
Blocksy\DemoInstallContentEraser::reset_menus()
S
59 3 14
Blocksy\DemoInstall::fetch_all_demos()
S
60 3 14
Blocksy\DemoInstallFakeContentEraser::erase_default_pages()
S
59 3 14
Blocksy\DemoInstallFakeContentEraser::reset_menus()
S
59 3 14
Blocksy\Plugin::init()
S
51 2 29
blc_get_trending_posts()
S
61 3 14
Blocksy\OpenGraphMetaData::__construct()
S
46 1 44
Blocksy\Cli::get_demo_args()
S
61 3 13
Blocksy\ExtensionsManager::read_readme_for()
S
62 3 12
Blocksy\DemoInstallOptionsExport::export_pages_ids_options()
S
62 3 12
Blocksy\ExtensionsManager::handle_activation()
S
62 3 12
Blocksy\ExtensionsManager::can()
S
62 3 12
wxr_post_taxonomy()
S
61 3 11
blocksy_html_tag()
S
62 3 11
BlocksyNewsletterManager::can()
S
64 3 11
blocksy_ext_cookies_checkbox()
S
56 2 21
Blocksy\Autoloader::get_classes_map()
S
48 1 33
Blocksy\DemoInstallContentInstaller::process_author_mapping()
S
64 3 10
wxr_term_meta()
S
63 3 9
blocksy_attr_to_html()
S
64 3 10
Blocksy\ExtensionsManager::handle_deactivation()
S
65 3 10
Blocksy\DemoInstallFakeContentEraser::wp_get_sidebars_widgets()
S
68 3 7
Blocksy\DemoInstallOptionsInstaller::is_image_url()
S
68 3 8
Blocksy\DemoInstallFakeContentEraser::reset_previous_posts()
S
60 2 13
Blocksy\DemoInstallFinalActions::import_single_post()
S
60 2 13
Blocksy_WP_Import::import_end()
S
59 2 13
blc_get_user_choices()
S
62 2 12
blc_empty_site_host_and_domain_for()
S
61 2 12
Blocksy_WP_Import::header()
S
61 2 12
Blocksy\DemoInstallContentInstaller::send_update()
S
63 2 11
BlocksyWidgetFactory::register_all_widgets()
S
62 2 11
BlocksyNewsletterManager::get_settings()
S
63 2 11
Blocksy\AccountAuth::__construct()
S
55 1 26
Blocksy\ExtensionsManager::register_extension_for()
S
62 2 11
BlocksyExtensionNewsletterSubscribePreBoot::get_actual_lists()
S
63 2 11
Blocksy_WP_Import::import()
S
58 1 16
addslashes_strings_only()
S
79 2 3
Blocksy\DemoInstall::get_plugins_manager()
S
70 2 6
Blocksy\Plugin::instance()
S
72 2 6
wxr_term_description()
S
71 2 6
Blocksy\ExtensionsManager::is_dashboard_page()
S
70 2 6
wxr_tag_name()
S
71 2 6
BlocksyNewsletterManager::get_for_provider()
S
71 2 6
Blocksy\ExtensionsManagerApi::check_capability()
S
69 2 7
WXR_Parser_Regex::fclose()
S
74 2 5
wxr_term_name()
S
71 2 6
blc_ext_cookies_consent_cache()
S
65 2 10
wxr_tag_description()
S
71 2 6
BlocksyExtensionNewsletterSubscribePreBoot::get_provider_from_request()
S
71 2 6
wxr_cdata()
S
68 2 7
WXR_Parser_Regex::fgets()
S
73 2 5
Blocksy\ExtensionsManagerApi::__construct()
S
70 2 7
BlocksyExtensionNewsletterSubscribePreBoot::get_api_key_from_request()
S
71 2 6
Blocksy\HeaderAdditions::get_conditions()
S
69 2 7
Blocksy_WP_Import::is_valid_meta_key()
S
73 2 5
blc_output_newsletter_subscribe_form_cache()
S
65 2 10
BlocksyExtensionCookiesConsent::has_consent()
S
69 2 7
Blocksy\DemoInstall::attach_ajax_actions()
S
68 2 8
WXR_Parser_Regex::fopen()
S
73 2 5
Blocksy\ExtensionsManagerApi::get_extension_from_request()
S
71 2 6
Blocksy\ExtensionsManagerApi::attach_ajax_actions()
S
68 2 8
Blocksy\ConditionsManager::get_user_roles_rules()
S
64 2 10
wxr_category_description()
S
71 2 6
BlocksyExtensionNewsletterSubscribePreBoot::get_list_id_from_request()
S
71 2 6
WXR_Parser_Regex::feof()
S
74 2 5
wxr_site_url()
S
70 2 7
Blocksy\ExtensionsManager::do_extensions_preboot()
S
73 2 5
Blocksy_WP_Import::backfill_attachment_urls()
S
65 2 8
wxr_cat_name()
S
71 2 6
Blocksy\CacheResetManager::__construct()
S
63 1 13
Blocksy\DemoInstall::__construct()
S
63 1 13
Blocksy\DemoInstallChildThemeInstaller::get_functions_php()
S
69 1 12
BlocksyExtensionCookiesConsent::add_options_panel()
S
63 1 11
Blocksy\DemoInstallOptionsExport::get_exported_options_keys()
S
73 1 6
Blocksy\DemoInstallContentEraser::__construct()
S
71 1 6
Blocksy\Blocksy_Widget_Ct_About_Me::get_path()
S
80 1 3
WXR_Parser_Regex::process_category()
S
65 1 9
Blocksy\ExtensionsManagerApi::blocksy_extension_deactivate()
S
71 1 6
Blocksy\Blocksy_Widget_Ct_Posts::get_config()
S
68 1 7
WXR_Parser_Regex::process_author()
S
64 1 10
Blocksy\ExtensionsManagerApi::blocksy_extension_activate()
S
71 1 6
BlocksyExtensionNewsletterSubscribePreBoot::get_lists()
S
81 1 3
BlocksyNewsletterManager::get_for_settings()
S
69 1 7
Blocksy\DemoInstallContentInstaller::track_term_insert()
S
79 1 3
BlocksyExtensionProductReviews::onDeactivation()
S
70 1 7
Blocksy\DemoInstall::blocksy_demo_deregister_current_demo()
S
66 1 9
BlocksyExtensionCookiesConsent::should_display_notification()
S
78 1 3
Blocksy\Blocksy_Widget_Ct_Newsletter_Subscribe::get_config()
S
70 1 6
Blocksy_WP_Import::footer()
S
83 1 3
Blocksy\Blocksy_Widget_Ct_Quote::get_config()
S
69 1 7
Blocksy\DemoInstall::blocksy_demo_install_options()
S
77 1 4
Blocksy\AccountAuth::has_woo_register_flow()
S
72 1 6
WXR_Parser_Regex::_normalize_tag()
S
79 1 3
Blocksy\DemoInstall::has_mock()
S
82 1 3
Blocksy\DemoInstall::blocksy_demo_install_child_theme()
S
77 1 4
BlocksyExtensionTrending::add_global_styles()
S
70 1 6
Blocksy_WP_Import::max_attachment_size()
S
80 1 3
Blocksy\DemoInstall::set_current_demo()
S
74 1 5
WXR_Parser_Regex::__construct()
S
80 1 3
Blocksy_WP_Import::parse()
S
76 1 4
Blocksy\DemoInstallFinalActions::__construct()
S
71 1 6
Blocksy\Plugin::register_autoloader()
S
76 1 4
Blocksy\Blocksy_Widget_Ct_Facebook::get_config()
S
68 1 7
Blocksy\Plugin::__construct()
S
68 1 7
blocksy_rand_md5()
S
77 1 3
Blocksy\OpenGraphMetaData::get_open_graph_tag()
S
66 1 9
Blocksy\Blocksy_Widget_Ct_Posts::get_path()
S
80 1 3
WXR_Parser_Regex::process_term()
S
64 1 10
BlocksyExtensionTrending::onDeactivation()
S
70 1 7
Blocksy\DemoInstall::blocksy_demo_install_finish()
S
77 1 4
Blocksy\Blocksy_Widget_Ct_Advertisement::get_path()
S
80 1 3
Blocksy\Blocksy_Widget_Ct_Socials::get_config()
S
68 1 7
Blocksy_WP_Import::allow_create_users()
S
80 1 3
Blocksy_WP_Import::allow_fetch_attachments()
S
80 1 3
Blocksy\DemoInstall::emit_sse_message()
S
70 1 6
BlocksyMailerliteManager::get_form_url_and_gdpr_for()
S
69 1 7
blc_fs()
S
79 1 4
Blocksy\Blocksy_Widget_Ct_Newsletter_Subscribe::get_path()
S
80 1 3
Blocksy\ExtensionsManager::get_option_name()
S
82 1 3
wp_slash_strings_only()
S
80 1 3
Blocksy\DemoInstall::blocksy_demo_deactivate_plugins()
S
77 1 4
Blocksy\ConditionsManager::__construct()
S
91 1 2
Blocksy\DemoInstall::blocksy_demo_activate_plugins()
S
77 1 4
Blocksy\DemoInstall::blocksy_demo_fake_step()
S
77 1 4
Blocksy\ExtensionsManager::get_activated_extensions()
S
79 1 3
Blocksy\DemoInstall::blocksy_demo_erase_content()
S
77 1 4
Blocksy\Blocksy_Widget_Ct_Quote::get_path()
S
80 1 3
BlocksyExtensionCookiesConsent::onDeactivation()
S
70 1 7
Blocksy\DynamicCss::should_use_files()
S
79 1 3
Blocksy\Blocksy_Widget_Ct_Socials::get_path()
S
80 1 3
Blocksy_WP_Import::greet()
S
68 1 7
BlocksyExtensionNewsletterSubscribePreBoot::save_credentials()
S
82 1 3
BlocksyExtensionProductReviews::add_global_styles()
S
70 1 6
BlocksyExtensionProductReviews::init_metabox()
S
75 1 4
Blocksy\Blocksy_Widget_Ct_Advertisement::get_config()
S
69 1 7
BlocksyExtensionNewsletterSubscribe::onDeactivation()
S
70 1 7
Blocksy_WP_Import::bump_request_timeout()
S
83 1 3
WXR_Parser_Regex::process_tag()
S
67 1 8
Blocksy\DemoInstallChildThemeInstaller::get_style_css()
S
72 1 9
Blocksy\HeaderAdditions::set_conditions()
S
80 1 3
BlocksyExtensionNewsletterSubscribePreBoot::ext_data()
S
76 1 4
Blocksy\Blocksy_Widget_Ct_Facebook::get_path()
S
80 1 3
BlocksyExtensionNewsletterSubscribe::add_global_styles()
S
70 1 6
BlocksyExtensionProductReviewsPreBoot::ext_data()
S
67 1 8
blc_get_ext()
S
79 1 3
BlocksyExtensionProductReviews::set_settings()
S
80 1 3
Blocksy\AccountAuth::blc_implement_user_login()
S
76 1 4
Blocksy\DynamicCss::get_chunks()
S
67 1 9
Blocksy\Blocksy_Widget_Ct_Contact_Info::get_config()
S
68 1 7
Blocksy\DemoInstall::blocksy_demo_install_content()
S
77 1 4
BlocksyNewsletterManager::set_settings()
S
68 1 7
blocksy_default_akg()
S
79 1 3
BlocksyWidgetFactory::get_path()
S
80 1 3
blc_fail_wp_version()
S
71 1 5
BlocksyExtensionCookiesConsent::add_global_styles()
S
70 1 6
Blocksy\Autoloader::run()
S
79 1 3
Blocksy\ExtensionsManager::get_class_name_for()
S
71 1 5
Blocksy_WP_Import::cmpr_strlen()
S
79 1 3
Blocksy\Blocksy_Widget_Ct_About_Me::get_config()
S
68 1 7
BlocksyNewsletterManager::fetch_lists()
S
82 1 3
BlocksyMailchimpManager::__construct()
S
91 1 2
blc_fail_php_version()
S
71 1 5
Blocksy\DemoInstallContentInstaller::track_post_insert()
S
79 1 3
Blocksy\DemoInstall::get_current_demo()
S
79 1 3
Blocksy\DemoInstall::blocksy_demo_install_widgets()
S
77 1 4
Blocksy\Blocksy_Widget_Ct_Contact_Info::get_path()
S
80 1 3