Code Analysis: Lazy Blocks 3.4.3

Function Rating Maintainability Complexity Lines of code
LazyBlocks_Icons::get_all()
D
5
1 936
LazyBlocks_Blocks::prepare_handlebars()
D
25
44 157
LazyBlocks_Blocks::render_callback()
D
29 41 103
LazyBlocks_Tools::import_json()
B
38 22 63
LazyBlocks_Blocks::save_meta_boxes()
B
41 22 51
LazyBlocks_Tools::clean_block_to_export()
B
39 20 64
LazyBlocks_Admin::in_admin_header()
B
39 19 62
get_lzb_meta()
B
43 20 45
LazyBlocks_Tools::duplicate_block()
A
38 13 66
LazyBlocks_Blocks::prepare_block_attributes()
A
41 12 61
LazyBlocks_Blocks::prepare_block_meta_attributes()
A
49 14 28
LazyBlocks_Blocks::marshal_block_data_with_controls()
A
36 10 82
LazyBlocks_Tools::maybe_export_json()
A
49 13 30
LazyBlocks_Control_Repeater::filter_control_value()
A
51 13 25
LazyBlocks_Tools::import_block()
A
42 11 52
LazyBlocks_Blocks::manage_posts_custom_column()
A
46 12 36
LazyBlocks_Blocks::get_blocks()
A
46 10 39
LazyBlocks_Blocks::sanitize_block_configs()
A
47 9 41
LazyBlocks_Blocks::register_block_render()
A
46 9 39
LazyBlocks_Dummy::add()
A
35 4 108
LazyBlocks_Control_Select::get_new_attribute_value()
A
53 9 22
LazyBlocks_Control::__construct()
A
45 7 49
LazyBlocks_Tools::export_json()
A
51 8 26
LazyBlocks_Templates::manage_posts_custom_column()
A
51 8 24
LazyBlocks_WPML::get_translated_controls_data()
A
49 7 34
LazyBlocks_Migration::v_2_5_0()
A
49 7 31
LazyBlocks::get_plugin_site_url()
S
51 7 25
LazyBlocks_Blocks::block_categories_all()
S
53 7 24
LazyBlocks_Deactivate_Duplicate_Plugin::deactivate_other_instances()
S
52 7 24
LazyBlocks_Control_Color::get_slug_by_color()
S
53 7 23
LazyBlocks_Templates::register_post_type_args()
S
54 7 22
LazyBlocks_Tools::admin_enqueue_scripts()
S
49 6 33
LazyBlocks_Control_Select::filter_lzb_prepare_block_attribute()
S
57 7 16
LazyBlocks_Templates::get_templates()
S
50 6 29
LazyBlocks_Control_Toggle::filter_lzb_prepare_block_attribute()
S
59 7 14
LazyBlocks_Tools::maybe_duplicate_block()
S
58 7 14
LazyBlocks_Tools::import_template()
S
49 6 29
LazyBlocks_Control_Checkbox::filter_lzb_prepare_block_attribute()
S
59 7 14
LazyBlocks_Rest::get_block()
S
50 6 28
LazyBlocks_Control_Gallery::maybe_update_image_data()
S
50 6 27
LazyBlocks_Control_Image::maybe_update_image_data()
S
50 6 27
LazyBlocks_Blocks::get_blocks_categories()
S
54 6 23
LazyBlocks_Controls::include_controls()
S
47 5 38
LazyBlocks_Migration::v_2_1_0()
S
54 6 20
LazyBlocks_Control_Gallery::filter_control_value()
S
58 6 16
LazyBlocks_Blocks::get_meta_value()
S
58 6 16
LazyBlocks_Deprecations::v2_1_0_convert_user_block()
S
60 6 13
LazyBlocks_Rest::get_block_permission()
S
59 6 13
LazyBlocks_Rest::get_block_data_permission()
S
59 6 13
LazyBlocks_Rest::update_block_data()
S
59 6 13
LazyBlocks_Rest::block_constructor_preview()
S
49 5 28
LazyBlocks_Templates::register_post_type()
S
39 1 87
LazyBlocks_Blocks::post_row_actions()
S
47 4 42
LazyBlocks_Control_InnerBlocks::filter_lzb_block_render_attributes()
S
61 6 11
LazyBlocks_WPML::wpml_config_array()
S
53 5 23
LazyBlocks_Control_Radio::get_choice_data_by_value()
S
60 5 14
LazyBlocks_Control_Select::get_choice_data_by_value()
S
60 5 14
LazyBlocks_Rest::get_block_data()
S
58 5 14
LazyBlocks_Blocks::prepare_block_controls()
S
61 5 12
LazyBlocks_Control_Radio::filter_control_value()
S
62 5 11
LazyBlocks_Templates::templates_editor_enqueue_scripts()
S
54 4 22
LazyBlocks_Deprecations::v2_5_0_convert_import_json_template()
S
65 5 8
LazyBlocks_Blocks::remove_block()
S
65 5 9
LazyBlocks_Deprecations::v2_5_0_convert_user_template()
S
60 4 14
LazyBlocks_Blocks::include_template()
S
59 4 13
LazyBlocks_Rest::register_routes()
S
45 1 57
LazyBlocks_Migration::init()
S
61 4 12
LazyBlocks_Control_Repeater::filter_lzb_prepare_block_attribute()
S
63 4 11
LazyBlocks_Deactivate_Duplicate_Plugin::plugin_deactivated_notice()
S
58 3 16
LazyBlocks_Control_Image::filter_control_value()
S
65 4 9
LazyBlocks_Templates::post_row_actions()
S
65 4 9
LazyBlocks_Admin::admin_footer_text()
S
62 4 10
LazyBlocks_Rest::get_post_types()
S
66 4 7
LazyBlocks_Blocks::register_post_type()
S
46 1 42
LazyBlocks_Blocks::template_exists()
S
61 3 11
LazyBlocks_Tools::admin_notices()
S
64 3 11
LazyBlocks_Admin::admin_menu()
S
55 2 23
LazyBlocks_Admin::constructor_enqueue_scripts()
S
54 2 21
LazyBlocks_Blocks::__construct()
S
55 2 19
LazyBlocks_Blocks::add_role_caps()
S
57 2 19
LazyBlocks_Force_Gutenberg::classic_plugin_force_gutenberg_3()
S
71 3 6
LazyBlocks_Force_Gutenberg::user_can_richedit_force()
S
69 3 7
LazyBlocks_Control_Repeater::get_control_id_by_name()
S
64 3 10
LazyBlocks_Control_Select::filter_control_value()
S
70 3 6
LazyBlocks_Blocks::get_block()
S
65 3 9
LazyBlocks_Blocks::allowed_block_types_all()
S
70 3 6
LazyBlocks::include_within()
S
62 2 14
LazyBlocks_Rest::error()
S
60 2 14
LazyBlocks_Deprecations::deprecated_actions_usage_warning()
S
63 2 12
LazyBlocks_Admin::add_go_pro_link_plugins_page()
S
63 2 11
LazyBlocks_Control_Repeater::__construct()
S
54 1 22
LazyBlocks_Admin::admin_enqueue_scripts()
S
54 1 20
LazyBlocks_Tools::render_tools_page()
S
62 1 19
LazyBlocks_Control_InnerBlocks::__construct()
S
56 1 18
LazyBlocks_Control_Undefined::__construct()
S
57 1 18
LazyBlocks::include_dependencies()
S
58 1 17
LazyBlocks_Control_Toggle::__construct()
S
57 1 16
LazyBlocks_Blocks::register_block()
S
58 1 16
LazyBlocks_Control::get_control_data()
S
59 1 16
LazyBlocks_Control_Checkbox::__construct()
S
57 1 16
LazyBlocks_3rd_Astra::constructor_enqueue_scripts()
S
68 2 7
LazyBlocks_Control_File::filter_control_value()
S
71 2 6
LazyBlocks_Force_Gutenberg::classic_plugin_force_gutenberg()
S
66 2 9
LazyBlocks_Blocks::get_meta_value_by_id()
S
66 2 8
LazyBlocks_Control_Image::__construct()
S
59 1 15
LazyBlocks_Force_Gutenberg::classic_plugin_force_gutenberg_2()
S
72 2 6
LazyBlocks_Migration::__construct()
S
68 2 7
LazyBlocks_Templates::add_template()
S
70 2 6
LazyBlocks_Admin::enqueue_script_translations()
S
68 2 7
LazyBlocks_Blocks::get_meta_boxes()
S
66 2 8
LazyBlocks_Templates::disable_months_dropdown()
S
79 2 3
LazyBlocks_Blocks::add_block()
S
70 2 6
LazyBlocks_3rd_Astra::__construct()
S
70 2 6
LazyBlocks_Control_Select::__construct()
S
58 1 15
LazyBlocks_Blocks::disable_months_dropdown()
S
79 2 3
LazyBlocks::instance()
S
70 2 7
LazyBlocks_Control_Color::filter_control_value()
S
66 2 9
LazyBlocks::is_pro()
S
79 2 3
LazyBlocks_Deprecations::show_deprecated_error()
S
73 2 5
LazyBlocks_Assets::enqueue_runtime()
S
73 2 5
LazyBlocks_Blocks::handle_bulk_actions_edit()
S
69 2 7
LazyBlocks_Rest::get_post_types_permission()
S
70 2 6
LazyBlocks_Controls::filter_control_value()
S
64 2 9
LazyBlocks_Admin::maybe_hide_menu_item()
S
70 2 6
LazyBlocks_Assets::get_asset_file()
S
64 2 10
LazyBlocks_Control_Text::__construct()
S
60 1 14
LazyBlocks_Control_Color::__construct()
S
59 1 14
LazyBlocks_Control_DateTime::__construct()
S
60 1 14
LazyBlocks_Control_Email::__construct()
S
60 1 14
LazyBlocks_Control_Radio::__construct()
S
60 1 14
LazyBlocks_Control_Gallery::__construct()
S
60 1 14
LazyBlocks_Control_File::__construct()
S
60 1 14
LazyBlocks_Control_RichText::__construct()
S
60 1 14
LazyBlocks_Control_TextArea::__construct()
S
60 1 14
LazyBlocks_Tools::clean_php_string_code()
S
60 1 14
LazyBlocks_Controls::get_controls_categories()
S
61 1 13
LazyBlocks::init()
S
60 1 13
LazyBlocks_Control_Number::__construct()
S
61 1 13
LazyBlocks_Migration::get_migrations()
S
63 1 12
LazyBlocks_Control_Range::__construct()
S
62 1 12
LazyBlocks_Control_Password::__construct()
S
63 1 11
LazyBlocks_Control_CodeEditor::__construct()
S
63 1 11
LazyBlocks_Tools::admin_menu()
S
63 1 11
LazyBlocks_Control_ClassicEditor::__construct()
S
63 1 11
LazyBlocks_Control_DateTime::get_script_depends()
S
81 1 3
LazyBlocks_Templates::__construct()
S
64 1 9
LazyBlocks_Control_Number::register_assets()
S
80 1 3
LazyBlocks::activation_hook()
S
82 1 3
LazyBlocks_Control_TextArea::register_assets()
S
80 1 3
LazyBlocks::controls()
S
82 1 3
LazyBlocks_Blocks::bulk_actions_edit()
S
72 1 5
LazyBlocks_Control_File::register_assets()
S
80 1 3
LazyBlocks_Control_Select::register_assets()
S
80 1 3
LazyBlocks::init_hook()
S
81 1 3
LazyBlocks::plugin_url()
S
79 1 3
LazyBlocks::__construct()
S
91 1 2
LazyBlocks_Rest::__construct()
S
79 1 3
LazyBlocks_Control_Undefined::register_assets()
S
80 1 3
LazyBlocks::add_block()
S
80 1 3
LazyBlocks_Control_Number::get_script_depends()
S
81 1 3
LazyBlocks_Assets::register_style()
S
66 1 9
LazyBlocks_Control_InnerBlocks::get_script_depends()
S
81 1 3
LazyBlocks_Assets::enqueue_style()
S
75 1 4
LazyBlocks_Control_Color::get_script_depends()
S
81 1 3
LazyBlocks_Controls::get_controls()
S
80 1 3
LazyBlocks_Control::get_style_depends()
S
82 1 3
LazyBlocks_Control_Text::register_assets()
S
80 1 3
LazyBlocks_Control_Text::get_script_depends()
S
81 1 3
LazyBlocks_Control_Color::register_assets()
S
80 1 3
LazyBlocks_Force_Gutenberg::__construct()
S
69 1 6
LazyBlocks::blocks()
S
82 1 3
LazyBlocks_Control_Undefined::get_script_depends()
S
81 1 3
LazyBlocks_Assets::is_webpack_hmr_support()
S
79 1 3
LazyBlocks_Blocks::get_meta_value_by_block()
S
75 1 4
LazyBlocks_Control_Password::register_assets()
S
80 1 3
LazyBlocks_Control_Email::register_assets()
S
80 1 3
LazyBlocks_Control_Password::get_script_depends()
S
81 1 3
LazyBlocks_Control_RichText::get_script_depends()
S
81 1 3
LazyBlocks_Dummy::__construct()
S
98 1 1
LazyBlocks_Control_File::get_script_depends()
S
81 1 3
LazyBlocks_Control_Range::get_script_depends()
S
81 1 3
LazyBlocks_Control_Repeater::get_script_depends()
S
81 1 3
LazyBlocks::add_template()
S
80 1 3
LazyBlocks_Deprecations::v2_0_0_deprecated_lzb_handlebars_object_action()
S
80 1 3
LazyBlocks_Control_TextArea::get_script_depends()
S
81 1 3
LazyBlocks_Templates::rest_auth()
S
78 1 3
LazyBlocks_WPML::__construct()
S
79 1 3
LazyBlocks_Blocks::get_block_defaults()
S
79 1 3
LazyBlocks_Control_Gallery::get_script_depends()
S
81 1 3
LazyBlocks_Assets::register_script()
S
64 1 10
LazyBlocks_Icons::__construct()
S
91 1 2
LazyBlocks_Control_Checkbox::register_assets()
S
80 1 3
LazyBlocks_Control_Image::get_script_depends()
S
81 1 3
LazyBlocks_Control_ClassicEditor::get_script_depends()
S
81 1 3
LazyBlocks_Control_RichText::register_assets()
S
80 1 3
LazyBlocks::tools()
S
82 1 3
LazyBlocks_Control_Radio::get_script_depends()
S
81 1 3
LazyBlocks_Admin::__construct()
S
63 1 10
LazyBlocks_Templates::manage_posts_columns()
S
65 1 9
LazyBlocks_Control::get_script_depends()
S
82 1 3
LazyBlocks_Blocks::manage_posts_columns()
S
64 1 10
LazyBlocks_Blocks::php_eval()
S
73 1 5
LazyBlocks::plugin_basename()
S
79 1 3
LazyBlocks_Control_Image::register_assets()
S
80 1 3
LazyBlocks_Rest::update_block_data_permission()
S
80 1 3
LazyBlocks_Blocks::remove_custom_fields_support()
S
80 1 3
LazyBlocks_Blocks::sanitize_slug()
S
78 1 3
LazyBlocks_Tools::get_block_php_string_code()
S
67 1 8
LazyBlocks_Control_Toggle::register_assets()
S
80 1 3
LazyBlocks_Control_Repeater::register_assets()
S
80 1 3
LazyBlocks_Control_Email::get_script_depends()
S
81 1 3
LazyBlocks::plugin_path()
S
79 1 3
LazyBlocks_Control_InnerBlocks::register_assets()
S
80 1 3
LazyBlocks_Assets::init_hooks()
S
79 1 3
LazyBlocks_Control_Checkbox::get_script_depends()
S
81 1 3
LazyBlocks_Assets::enqueue_script()
S
75 1 4
LazyBlocks_Control_ClassicEditor::register_assets()
S
80 1 3
LazyBlocks_Controls::ends_with()
S
77 1 3
LazyBlocks_Rest::success()
S
67 1 9
LazyBlocks_Tools::add_notice()
S
71 1 6
LazyBlocks_Tools::__construct()
S
68 1 7
LazyBlocks_Control_Radio::register_assets()
S
80 1 3
LazyBlocks_Blocks::marshal_block_data()
S
75 1 4
LazyBlocks_Rest::block_constructor_preview_permission()
S
80 1 3
LazyBlocks::deactivation_hook()
S
98 1 1
LazyBlocks_Control_URL::__construct()
S
64 1 10
LazyBlocks::icons()
S
82 1 3
LazyBlocks_Control::register_assets()
S
91 1 2
LazyBlocks_Blocks::is_allowed_unfiltered_html()
S
75 1 4
LazyBlocks_Control_Range::register_assets()
S
80 1 3
LazyBlocks::templates()
S
82 1 3
LazyBlocks_Control_Toggle::get_script_depends()
S
81 1 3
lazyblocks()
S
82 1 3
LazyBlocks_Control_CodeEditor::get_script_depends()
S
81 1 3
LazyBlocks_Control_URL::get_script_depends()
S
81 1 3
LazyBlocks_Deprecations::__construct()
S
67 1 7
LazyBlocks::load_text_domain()
S
78 1 3
LazyBlocks_Control_CodeEditor::register_assets()
S
80 1 3
LazyBlocks_Control_DateTime::register_assets()
S
80 1 3
LazyBlocks_Deactivate_Duplicate_Plugin::__construct()
S
75 1 4
LazyBlocks_Controls::__construct()
S
82 1 3
LazyBlocks_Tools::get_template_php_string_code()
S
68 1 7
LazyBlocks_Control_URL::register_assets()
S
80 1 3
LazyBlocks_Control_Select::get_script_depends()
S
81 1 3
LazyBlocks_Control_Gallery::register_assets()
S
80 1 3
LazyBlocks_Control::filter_control_value()
S
82 1 3