Code Analysis: Ghost Kit 2.20.3

Function Rating Maintainability Complexity Lines of code
GhostKit_Icons_List::add_font_awesome_icons()
D
0
1 8,053
GhostKit_Fonts::get_font_loader_list()
D
19
80 186
GhostKit_Twitter_Block::block_render()
D
20
52 221
GhostKit_Assets::register_scripts()
D
17
48 254
GhostKit_Rest::get_templates()
D
27
30 149
GhostKit_Typography::generate_typography_styles()
D
33 34 84
GhostKit_Icons_Fallback::parse_icons_for_fallback()
D
35 33 87
GhostKit_Rest::get_twitter_feed()
D
33 31 92
GhostKit_Instagram_Block::block_render()
C
31 28 122
GhostKit_Block_Custom_Styles::parse()
C
37 27 69
GhostKit_Rest::get_table_of_contents()
C
35 25 80
GhostKit_Form_Block::maybe_submit_form()
B
34 20 98
GhostKit_Customizer_Plugin::parse_customizer_controls()
B
44 19 42
GhostKit_Assets::add_custom_assets()
B
46 19 35
GhostKit_Rest::get_template_data()
B
38 16 71
GhostKit_Form_Field_Attributes::get()
B
42 17 50
GhostKit_Rest::request_api_twitter()
B
37 15 74
GhostKit_Rest::get_twitter_profile()
B
39 15 62
GhostKit_Rest::get_attachment_image()
A
41 15 49
GhostKit_Reusable_Widget::widget()
A
53 15 19
GhostKit_Form_Field_Name_Block::block_render()
A
39 10 75
GhostKit_Assets::enqueue_stored_assets()
A
49 13 29
GhostKit_Rest::add_tweet_entity_links()
A
42 11 57
GhostKit_Icons_Fallback::wp_enqueue_foot_assets()
A
48 12 36
GhostKit_Typography::is_exist()
A
55 12 19
GhostKit_TOC_Block::get_all_headings()
A
50 11 28
GhostKit_Typography::add_default_typography()
A
32 1 172
GhostKit_Parse_Blocks::parse_blocks()
A
52 11 21
GhostKit_Rest::get_instagram_feed()
A
47 10 34
GhostKit_Form_Block::template()
A
48 10 32
GhostKit_Rest::register_routes()
A
32 1 165
GhostKit_Typography::enqueue_typography_assets()
A
57 11 15
GhostKit_Form_Field_Select_Block::block_render()
A
44 8 52
GhostKit_Rest::get_instagram_profile()
A
48 9 32
GhostKit_Fonts::enqueue_all_fonts_assets()
A
52 9 22
GhostKit_Form_Block::verify_recaptcha()
A
48 8 36
GhostKit_Parse_Blocks::maybe_parse_blocks()
A
55 9 19
GhostKit_Form_Block::init()
A
39 5 79
GhostKit_Breakpoints::get_breakpoints()
A
56 9 16
GhostKit_Breakpoints::get_breakpoints()
A
56 9 16
GhostKit_Typography::get_typography_values()
A
51 8 27
GhostKit_Scss_Compiler::scss()
A
44 7 41
GhostKit_Color_Palette::add_palette()
A
53 8 23
GhostKit_Fonts::add_google_fonts()
A
47 7 37
GhostKit_TOC_Block::parse_toc_headings()
A
53 8 22
GhostKit_TOC_Block::find_toc_block()
S
58 8 15
GhostKit_Rest::prepare_tweet_content()
S
49 7 28
GhostKit_Settings::admin_enqueue_scripts()
S
43 5 54
GhostKit_Icons_List::add_ghostkit_icons()
S
36 1 112
GhostKit_Form_Field_Label::get()
S
49 6 35
GhostKit_Reusable_Widget::form()
S
44 5 50
GhostKit::enqueue_block_editor_assets()
S
47 6 34
GhostKit_Icons_Fallback::update_icons_list_structure()
S
57 7 17
GhostKit_TOC_Block::block_render()
S
46 5 44
GhostKit_Breakpoints::change_style_src_to_compile()
S
51 6 25
GhostKit_Breakpoints::change_style_src_to_compile()
S
51 6 25
GhostKit_Form_Block::block_render()
S
46 5 40
GhostKit_Rest::get_twitter_feed_permission()
S
53 6 23
GhostKit_Rest::get_twitter_profile_permission()
S
53 6 23
GhostKit_Form_Field_Email_Block::block_render()
S
45 4 51
GhostKit_Breakpoints::maybe_compile_scss_files()
S
48 5 34
GhostKit_Form_Field_Attributes::get_block_attributes()
S
46 4 48
GhostKit_Shapes_List::add_default_shapes()
S
38 1 92
GhostKit_Scss_Compiler::__construct()
S
57 6 17
GhostKit_Form_Field_Checkbox_Block::block_render()
S
46 4 45
GhostKit_Form_Field_Radio_Block::block_render()
S
46 4 44
GhostKit_Icons_List::enqueue_all_icons_assets()
S
59 6 13
GhostKit_Form_Block::get_post_data()
S
60 6 13
GhostKit_Block_Custom_CSS::get()
S
60 6 13
GhostKit_Block_Custom_Styles::get()
S
60 6 13
GhostKit_Scss_Compiler::validation_of_arguments()
S
61 6 13
GhostKit_Customizer_Plugin::replace_option()
S
60 6 12
GhostKit_Assets::store_used_assets()
S
55 5 20
GhostKit_Assets::enqueue()
S
56 5 15
GhostKit_Breakpoints::maybe_compile_scss_files()
S
50 4 30
GhostKit_TOC_Block::get_heading_data()
S
57 5 15
GhostKit_Color_Palette::add_palette_styles()
S
58 5 14
GhostKit_Assets::autoptimize_filter_css_exclude()
S
60 5 14
GhostKit_Settings::go_pro_redirect()
S
60 5 13
GhostKit_Parse_Blocks::maybe_parse_blocks_from_content()
S
62 5 11
GhostKit_Settings::admin_menu()
S
42 1 70
GhostKit_Assets::add_custom_css()
S
52 4 24
GhostKit_Breakpoints::get_compile_scss_configs()
S
57 4 17
GhostKit_Breakpoints::get_compile_scss_configs()
S
57 4 17
GhostKit_Templates::add_custom_post_type()
S
42 1 60
GhostKit_Customizer_Plugin::maybe_find_options()
S
64 5 8
GhostKit_Rest::update_disabled_blocks()
S
59 4 14
GhostKit_Shapes_List::prepare_shapes_data()
S
62 4 11
GhostKit_Form_Field_Name_Block::init()
S
48 2 41
GhostKit_Form_Field_Description::get()
S
55 3 23
GhostKit::enqueue_css_vars_polyfill()
S
55 3 21
GhostKit_Form_Field_Textarea_Block::block_render()
S
55 3 20
GhostKit_Rest::update_custom_typography()
S
57 3 17
GhostKit_Form_Field_Email_Block::init()
S
51 2 31
GhostKit_TOC_Block::get_toc_html()
S
65 4 8
GhostKit_Twitter_Block::get_feed()
S
65 4 8
GhostKit_Twitter_Block::get_profile()
S
65 4 8
GhostKit_Rest::convert_number_short()
S
58 3 14
GhostKit_Scss_Compiler::check_and_create_non_exist_output_folder()
S
61 3 13
GhostKit::add_custom_fields_support()
S
61 3 13
GhostKit_Form_Field_Checkbox_Block::init()
S
52 2 28
GhostKit_Form_Field_Number_Block::init()
S
52 2 28
GhostKit_Form_Field_Radio_Block::init()
S
52 2 28
GhostKit_Form_Field_Select_Block::init()
S
52 2 28
GhostKit_Form_Block::process_mail()
S
59 3 13
GhostKit_Widgetized_Area_Block::block_render()
S
62 3 11
GhostKit_Form_Field_Date_Block::init()
S
54 2 25
GhostKit_Form_Field_Hidden_Block::block_render()
S
54 2 25
GhostKit_Form_Field_Textarea_Block::init()
S
57 2 19
GhostKit_Form_Field_Hidden_Block::init()
S
57 2 19
GhostKit_Form_Field_Phone_Block::init()
S
57 2 19
GhostKit_Form_Field_Text_Block::init()
S
57 2 19
GhostKit_Form_Field_Url_Block::init()
S
57 2 19
GhostKit_Form_Field_Date_Block::block_render()
S
58 2 17
GhostKit_Form_Field_Number_Block::block_render()
S
58 2 17
GhostKit_Form_Field_Phone_Block::block_render()
S
58 2 17
GhostKit_Form_Field_Text_Block::block_render()
S
58 2 17
GhostKit_Form_Field_Url_Block::block_render()
S
58 2 17
GhostKit_Rest::get_twitter_profile_images()
S
58 2 16
GhostKit_Parse_Blocks::maybe_parse_blocks_from_custom_location()
S
66 3 9
GhostKit_Assets::parse_blocks_css()
S
64 3 10
GhostKit_Form_Block::reset_post_data()
S
67 3 8
GhostKit_Reusable_Widget::update()
S
67 3 7
GhostKit_Instagram_Block::get_feed()
S
64 3 9
GhostKit_Instagram_Block::get_profile()
S
64 3 9
GhostKit_Custom_Code_Plugin::register_meta()
S
54 1 29
GhostKit::replace_vars()
S
59 2 13
GhostKit_Breakpoints::get_parsed_scss_files()
S
62 2 11
GhostKit_Breakpoints::get_parsed_scss_files()
S
62 2 11
GhostKit_Breakpoints_Background::schedule_cron_healthcheck()
S
61 2 11
GhostKit::excerpt_allowed_blocks()
S
55 1 23
GhostKit::init_options()
S
54 1 23
GhostKit_Fonts::add_default_site_fonts()
S
58 1 17
GhostKit_Rest::update_color_palette()
S
68 2 7
GhostKit::js_translation_editor()
S
68 2 7
GhostKit_Rest::get_instagram_feed_permission()
S
68 2 7
GhostKit_Rest::update_custom_code_permission()
S
70 2 6
GhostKit_Rest::get_custom_typography_permission()
S
70 2 6
GhostKit_Rest::update_settings_permission()
S
70 2 6
GhostKit_Rest::get_customizer()
S
66 2 8
GhostKit_Rest::build_base_string()
S
65 2 8
GhostKit_Rest::update_custom_code()
S
66 2 8
GhostKit_Scss_Compiler::get_input_file_contents()
S
69 2 7
GhostKit_Rest::get_custom_code()
S
66 2 8
GhostKit_Rest::get_custom_typography()
S
66 2 8
GhostKit_Rest::update_settings()
S
66 2 8
GhostKit_Instagram_Block::init()
S
65 2 10
GhostKit_Form_Block::assets_store()
S
67 2 8
GhostKit_TOC_Block::init()
S
65 2 10
GhostKit_Breakpoints_Background::schedule_event()
S
72 2 5
GhostKit_Twitter_Block::init()
S
65 2 10
GhostKit::js_translation()
S
70 2 6
GhostKit_Settings::__construct()
S
67 2 8
GhostKit_Block_Custom_Styles::endswith()
S
66 2 8
GhostKit_Assets::maybe_enqueue_blocks_assets()
S
71 2 6
GhostKit_Rest::update_google_maps_api_key_permission()
S
70 2 6
GhostKit_Rest::get_customizer_permission()
S
70 2 6
GhostKit_Rest::get_custom_code_permission()
S
70 2 6
GhostKit_Widgetized_Area_Block::init()
S
65 2 10
GhostKit_Rest::update_google_recaptcha_keys_permission()
S
70 2 6
GhostKit_TOC_Block::get_heading_text()
S
73 2 4
GhostKit_Rest::get_instagram_profile_permission()
S
68 2 7
GhostKit_Rest::update_disabled_blocks_permission()
S
70 2 6
GhostKit_Rest::get_attachment_image_permission()
S
68 2 7
GhostKit_Breakpoints::__construct()
S
64 2 9
GhostKit::instance()
S
68 2 8
GhostKit_Rest::update_color_palette_permission()
S
70 2 6
GhostKit_Rest::build_authorization_header()
S
64 2 9
GhostKit_Rest::update_custom_typography_permission()
S
70 2 6
GhostKit::init_hooks()
S
60 1 13
GhostKit_Breakpoints::get_breakpoints_hash()
S
65 1 12
GhostKit_Breakpoints::get_breakpoints_hash()
S
65 1 12
GhostKit::block_categories_all()
S
65 1 11
GhostKit_Typography_Plugin::register_meta()
S
65 1 11
GhostKit_Rest::error()
S
64 1 11
GhostKit_Customizer_Plugin::register_meta()
S
65 1 11
GhostKit::parse_blocks_css()
S
80 1 3
GhostKit_Rest::update_google_maps_api_key()
S
75 1 4
GhostKit_Parse_Blocks::init()
S
72 1 5
GhostKit_Assets::add_custom_js()
S
72 1 5
GhostKit_Reusable_Widget::__construct()
S
65 1 10
GhostKit_3rd_Rank_Math::__construct()
S
79 1 3
GhostKit_Breakpoints::get_breakpoint_sm()
S
79 1 3
GhostKit::php_translation()
S
78 1 3
GhostKit_Breakpoints::get_breakpoint_lg()
S
79 1 3
GhostKit_Form_Field_Select_Block::__construct()
S
79 1 3
GhostKit_Widgetized_Area_Block::__construct()
S
79 1 3
GhostKit_Assets::wp_enqueue_head_assets()
S
77 1 4
GhostKit_Block_Custom_Styles::camel2dash()
S
78 1 3
GhostKit_Assets::enqueue_scripts_action()
S
70 1 6
GhostKit_Breakpoints::get_breakpoint_xs()
S
79 1 3
GhostKit_Breakpoints::get_default_breakpoint_xs()
S
79 1 3
GhostKit_Breakpoints::get_default_breakpoint_lg()
S
79 1 3
GhostKit_Breakpoints::get_breakpoint_sm()
S
79 1 3
GhostKit_Breakpoints::get_default_breakpoint_lg()
S
79 1 3
GhostKit_Breakpoints::get_plugin_url()
S
81 1 3
GhostKit_Custom_Code_Plugin::__construct()
S
79 1 3
GhostKit_Breakpoints::get_default_breakpoints_hash()
S
65 1 10
ghostkit()
S
82 1 3
GhostKit_Typography_Plugin::__construct()
S
79 1 3
GhostKit_Block_Custom_CSS::utf8_decode()
S
74 1 4
GhostKit_Breakpoints::get_plugin_url()
S
81 1 3
GhostKit_Form_Field_Url_Block::__construct()
S
79 1 3
ghostkit_register_reusable_widget()
S
82 1 3
GhostKit_Form_Block::get_mail_html()
S
73 1 5
GhostKit_Rest::success()
S
67 1 9
GhostKit_Breakpoints::get_default_breakpoint_xs()
S
79 1 3
GhostKit_Assets::wp_enqueue_head_custom_assets()
S
80 1 3
GhostKit_Breakpoints_Background::task()
S
77 1 4
GhostKit_Form_Block::get_content_type()
S
82 1 3
GhostKit_Breakpoints::get_default_breakpoints()
S
68 1 8
GhostKit_Breakpoints_Background::dispatch()
S
82 1 3
GhostKit_Breakpoints::get_default_breakpoint_sm()
S
79 1 3
GhostKit_TOC_Block::__construct()
S
75 1 4
GhostKit_Icons_List::__construct()
S
69 1 6
GhostKit_Form_Field_Number_Block::__construct()
S
79 1 3
GhostKit::add_go_pro_link_plugins_page()
S
68 1 8
GhostKit_Breakpoints::get_default_breakpoint_sm()
S
79 1 3
GhostKit_Form_Block::__construct()
S
64 1 9
GhostKit_Icons_Fallback::__construct()
S
72 1 5
GhostKit_Shapes_List::__construct()
S
75 1 4
GhostKit_Breakpoints::get_default_breakpoints()
S
68 1 8
GhostKit_Breakpoints::get_default_breakpoint_md()
S
79 1 3
GhostKit_Form_Field_Checkbox_Block::__construct()
S
79 1 3
GhostKit_Assets::wp_enqueue_foot_custom_assets()
S
80 1 3
GhostKit_Fonts::__construct()
S
69 1 6
GhostKit_Customizer_Plugin::__construct()
S
72 1 5
GhostKit::__construct()
S
91 1 2
GhostKit_Form_Field_Hidden_Block::__construct()
S
79 1 3
GhostKit_Breakpoints::get_default_breakpoints_hash()
S
66 1 10
GhostKit_Form_Field_Date_Block::__construct()
S
79 1 3
GhostKit_Twitter_Block::__construct()
S
79 1 3
GhostKit_Rest::__construct()
S
79 1 3
GhostKit_Form_Block::mail_after_send()
S
79 1 3
GhostKit_Typography::__construct()
S
71 1 5
GhostKit_Breakpoints::get_breakpoint_xs()
S
79 1 3
GhostKit_Form_Field_Text_Block::__construct()
S
79 1 3
GhostKit_Settings::display_admin_page()
S
83 1 5
GhostKit_Breakpoints::get_plugin_path()
S
81 1 3
GhostKit_Breakpoints::get_default_breakpoint_md()
S
79 1 3
GhostKit_Form_Field_Radio_Block::__construct()
S
79 1 3
GhostKit_Form_Field_Name_Block::__construct()
S
79 1 3
GhostKit_Form_Field_Email_Block::__construct()
S
79 1 3
GhostKit_Breakpoints::get_breakpoint_md()
S
79 1 3
GhostKit_Form_Field_Phone_Block::__construct()
S
79 1 3
GhostKit::admin_init()
S
67 1 7
GhostKit::go_pro_link()
S
82 1 3
GhostKit_Breakpoints::get_breakpoint_lg()
S
79 1 3
GhostKit_Rest::update_google_recaptcha_keys()
S
72 1 5
GhostKit_Breakpoints::get_plugin_path()
S
81 1 3
GhostKit_Templates::__construct()
S
79 1 3
GhostKit_Color_Palette::__construct()
S
72 1 5
GhostKit_Breakpoints::__construct()
S
71 1 5
GhostKit_Assets::__construct()
S
67 1 7
GhostKit_Form_Field_Textarea_Block::__construct()
S
79 1 3
GhostKit_Form_Block::mail_before_send()
S
79 1 3
GhostKit_Assets::wp_enqueue_foot_assets()
S
77 1 4
GhostKit_Instagram_Block::__construct()
S
79 1 3
GhostKit_3rd_Rank_Math::toc_plugin()
S
76 1 4
GhostKit_Breakpoints::get_breakpoint_md()
S
79 1 3