Code Analysis: Ghost Kit 3.2.0

Function Rating Maintainability Complexity Lines of code
GhostKit_Icons_List::add_font_awesome_icons()
D
0
1 10,133
GhostKit_Fonts::get_font_loader_list()
D
19
80 186
GhostKit_Assets::register_scripts()
D
17
55 234
GhostKit_Twitter_Block::block_render()
D
20
52 221
GhostKit_Rest::get_twitter_feed()
D
30 36 107
GhostKit_Rest::get_templates()
D
27
30 149
GhostKit_Typography::generate_typography_styles()
D
33 34 84
GhostKit_Extension_Styles::parse()
D
34 34 80
GhostKit_Instagram_Block::block_render()
C
31 28 122
GhostKit_Rest::get_table_of_contents()
C
35 25 80
GhostKit_Form_Block::maybe_submit_form()
B
33 21 102
GhostKit_Rest::get_twitter_profile()
B
36 20 77
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_Deprecated_Scroll_Reveal::parse_sr_config()
B
39 16 70
GhostKit_Form_Field_Attributes::get()
B
42 17 50
GhostKit_Rest::request_api_twitter()
B
37 15 74
GhostKit_Rest::get_attachment_image()
B
41 16 52
GhostKit_Extensions::register_attribute()
A
45 14 41
GhostKit_Reusable_Widget::widget()
A
53 15 19
GhostKit_Typography::is_exist()
A
55 14 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::enqueue_block_assets()
A
44 11 47
GhostKit_Migrations::v_2_25_1()
A
49 12 30
GhostKit_Rest::get_instagram_feed()
A
46 11 37
GhostKit_Rest::register_routes()
A
31 1 183
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_Form_Block::verify_recaptcha()
A
47 10 36
GhostKit_Rest::get_instagram_profile()
A
47 10 35
GhostKit_Typography::enqueue_typography_assets()
A
55 11 18
GhostKit_Form_Block::template()
A
48 10 32
GhostKit_Fonts::enqueue_all_fonts_assets()
A
51 10 25
GhostKit_Form_Field_Select_Block::block_render()
A
44 8 52
GhostKit_Breakpoints::maybe_compile_scss_files()
A
45 8 44
GhostKit_Scss_Replace_Modules::__construct()
A
46 8 39
GhostKit_Assets::enqueue()
A
51 9 24
Ghostkit_Fonts_Google_Provider::build_collection_api_urls()
A
53 9 20
GhostKit_Parse_Blocks::maybe_parse_blocks()
A
55 9 19
GhostKit_Breakpoints::get_breakpoints()
A
56 9 16
GhostKit_Breakpoints::get_breakpoints()
A
56 9 16
GhostKit_Typography::get_typography_values()
A
50 8 27
GhostKit_Extension_Effects::render_block()
A
51 8 26
GhostKit_Color_Palette_Plugin::add_palette()
A
53 8 23
GhostKit_Fonts::add_google_fonts()
A
46 7 38
GhostKit_TOC_Block::parse_toc_headings()
A
53 8 22
GhostKit_Form_Block::init()
A
39 4 76
GhostKit_TOC_Block::find_toc_block()
S
58 8 15
GhostKit_Rest::prepare_tweet_content()
S
49 7 28
GhostKit_Assets::store_used_assets()
S
52 7 26
GhostKit_Templates::is_allowed()
S
53 7 23
GhostKit_Settings::admin_menu()
S
40 3 82
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_TOC_Block::block_render()
S
46 5 44
GhostKit_Form_Block::block_render()
S
45 5 43
GhostKit_Breakpoints::change_style_src_to_compile()
S
51 6 26
GhostKit_Extension_Styles::block_custom_styles()
S
51 6 26
GhostKit_Breakpoints::change_style_src_to_compile()
S
51 6 25
GhostKit_Form_Field_Email_Block::block_render()
S
45 4 51
Ghostkit_Fonts_Google_Provider::organize_webfonts()
S
56 6 20
GhostKit_Deprecated_Scroll_Reveal::migrate_deprecated_attribute()
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_Scss_Compiler::validation_of_arguments()
S
61 6 13
GhostKit_Icons_List::enqueue_all_icons_assets()
S
59 6 13
GhostKit_Customizer_Plugin::replace_option()
S
60 6 12
GhostKit_Deprecated_Extensions::register_attributes()
S
49 4 36
GhostKit_Settings::admin_enqueue_scripts()
S
44 3 51
GhostKit_TOC_Block::get_heading_data()
S
57 5 15
GhostKit_Ask_Review_Notice::is_notice_allowed()
S
58 5 15
GhostKit_Breakpoints::maybe_compile_scss_files()
S
50 4 30
GhostKit_Color_Palette_Plugin::add_palette_styles()
S
58 5 14
GhostKit_Assets::get_asset_file()
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_Assets::add_custom_css()
S
52 4 25
Ghostkit_Fonts_Google_Provider::collect_font_weights()
S
57 4 18
GhostKit_Extensions::render_block()
S
56 4 17
GhostKit_Breakpoints::get_compile_scss_configs()
S
57 4 17
GhostKit_Parse_Blocks::init()
S
57 4 16
GhostKit_Breakpoints::get_compile_scss_configs()
S
58 4 16
GhostKit_Widgetized_Area_Block::block_render()
S
58 4 16
GhostKit_Customizer_Plugin::__construct()
S
57 4 16
GhostKit_Customizer_Plugin::maybe_find_options()
S
64 5 8
ghostkit_decode()
S
60 4 14
GhostKit_Rest::update_disabled_blocks()
S
59 4 14
ghostkit_encode()
S
60 4 14
GhostKit_Templates::add_custom_post_type()
S
42 1 58
GhostKit_Migrations::init()
S
61 4 12
GhostKit::wp_check_filetype_and_ext()
S
61 4 12
GhostKit_Deprecated_Extension_Custom_CSS::block_custom_styles()
S
61 4 11
GhostKit_Shapes_List::prepare_shapes_data()
S
62 4 11
GhostKit_Deprecated_Extension_Styles::block_custom_styles()
S
61 4 11
GhostKit_Templates::add_templates_page_notice()
S
54 3 25
GhostKit_Form_Field_Description::get()
S
55 3 23
GhostKit_Ask_Review_Notice::admin_notices()
S
50 2 36
GhostKit_Form_Field_Textarea_Block::block_render()
S
55 3 20
GhostKit_Rest::update_custom_typography()
S
57 3 17
GhostKit_Color_Palette_Plugin::__construct()
S
57 3 16
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_Templates::init()
S
58 3 15
GhostKit_Form_Block::process_mail()
S
58 3 15
GhostKit_Rest::convert_number_short()
S
58 3 14
GhostKit::add_custom_fields_support()
S
61 3 13
GhostKit_Scss_Compiler::check_and_create_non_exist_output_folder()
S
61 3 13
Ghostkit_Fonts_Google_Provider::get_cached_remote_styles()
S
62 3 12
ghostkit_register_blocks()
S
62 3 11
GhostKit_Rest::update_custom_fonts()
S
62 3 11
Ghostkit_Fonts_Google_Provider::get_font_weights()
S
62 3 11
GhostKit_Form_Field_Hidden_Block::block_render()
S
54 2 25
GhostKit_Form_Field_Name_Block::init()
S
50 1 37
GhostKit_Assets::register_script()
S
57 2 18
GhostKit_Form_Field_Url_Block::block_render()
S
58 2 17
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_Rest::get_twitter_profile_images()
S
58 2 16
GhostKit_Parse_Blocks::maybe_parse_blocks_from_custom_location()
S
66 3 9
GhostKit_Ask_Review_Notice::ajax_gkt_dismiss_ask_review_notice()
S
62 3 10
GhostKit_Form_Block::get_post_data()
S
72 3 5
Ghostkit_Fonts_Google_Provider::get_remote_styles()
S
65 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_Rest::error()
S
60 2 14
GhostKit::init_options()
S
51 1 28
GhostKit::replace_vars()
S
59 2 13
GhostKit_Ask_Review_Notice::admin_enqueue_scripts()
S
62 2 13
GhostKit_3rd_Astra::__construct()
S
63 2 12
GhostKit_3rd_Blocksy::__construct()
S
63 2 12
GhostKit_3rd_Page_Builder_Framework::__construct()
S
63 2 12
GhostKit_Form_Field_Email_Block::init()
S
53 1 27
GhostKit_Breakpoints::get_parsed_scss_files()
S
62 2 11
GhostKit_Breakpoints::get_parsed_scss_files()
S
62 2 11
GhostKit_Form_Field_Checkbox_Block::init()
S
54 1 24
GhostKit_Form_Field_Number_Block::init()
S
55 1 24
GhostKit_Form_Field_Radio_Block::init()
S
54 1 24
GhostKit_Form_Field_Select_Block::init()
S
54 1 24
GhostKit::excerpt_allowed_blocks()
S
55 1 23
GhostKit_Form_Field_Date_Block::init()
S
56 1 21
GhostKit_Extension_Effects::__construct()
S
57 1 19
GhostKit_Extension_Position::__construct()
S
59 1 18
GhostKit_Form_Block::remove_hash_from_address_bar()
S
70 1 18
GhostKit_Extension_Custom_CSS::__construct()
S
59 1 18
GhostKit_Extension_Effects::add_reveal_styles()
S
71 1 17
GhostKit_Extension_Transform::__construct()
S
60 1 17
GhostKit_Scss_Compiler::scss()
S
56 1 17
GhostKit_Rest::update_disabled_blocks_permission()
S
70 2 6
GhostKit_Rest::build_base_string()
S
65 2 8
GhostKit_Rest::update_custom_typography_permission()
S
70 2 6
GhostKit::js_translation_editor()
S
68 2 7
GhostKit_Rest::update_custom_fonts_permission()
S
70 2 6
GhostKit::instance()
S
68 2 8
GhostKit_Rest::get_custom_code()
S
66 2 8
GhostKit_Rest::update_google_recaptcha_keys_permission()
S
70 2 6
GhostKit_Assets::enqueue_runtime()
S
72 2 5
GhostKit_Form_Field_Phone_Block::init()
S
60 1 15
GhostKit_Rest::update_custom_code_permission()
S
70 2 6
GhostKit_Rest::update_google_maps_api_key_permission()
S
70 2 6
GhostKit_Rest::get_custom_fonts_permission()
S
70 2 6
GhostKit_Migrations::__construct()
S
68 2 7
GhostKit_TOC_Block::get_heading_text()
S
73 2 4
GhostKit_Form_Field_Textarea_Block::init()
S
60 1 15
GhostKit::js_translation()
S
70 2 6
GhostKit_Extension_Styles::endswith()
S
66 2 8
GhostKit::upload_mimes()
S
71 2 6
GhostKit_Rest::get_customizer_permission()
S
70 2 6
GhostKit_Rest::get_custom_typography()
S
66 2 8
GhostKit_Rest::get_custom_code_permission()
S
70 2 6
GhostKit_Rest::update_color_palette_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_custom_fonts()
S
65 2 9
GhostKit_Rest::get_customizer()
S
66 2 8
GhostKit_Rest::build_authorization_header()
S
64 2 9
Ghostkit_Fonts_Google_Provider::get_css()
S
66 2 8
GhostKit_Form_Field_Url_Block::init()
S
60 1 15
GhostKit_Rest::update_custom_code()
S
66 2 8
GhostKit_Rest::update_color_palette()
S
68 2 7
GhostKit_Breakpoints::__construct()
S
64 2 9
GhostKit_Rest::update_settings()
S
66 2 8
GhostKit_Assets::maybe_enqueue_blocks_assets()
S
71 2 6
GhostKit_Form_Block::assets_store()
S
67 2 8
GhostKit_Form_Field_Hidden_Block::init()
S
60 1 15
GhostKit_Scss_Compiler::get_input_file_contents()
S
69 2 7
GhostKit_Form_Block::reset_post_data()
S
74 2 5
GhostKit_Form_Block::verify_honeypot()
S
71 2 6
GhostKit_Form_Field_Text_Block::init()
S
60 1 15
GhostKit_Extension_Frame::__construct()
S
62 1 14
GhostKit_Extensions::init()
S
61 1 14
GhostKit_Extension_Spacings::__construct()
S
63 1 13
GhostKit::init_hooks()
S
59 1 13
GhostKit_Extension_Styles::init()
S
62 1 13
GhostKit_TOC_Block::__construct()
S
62 1 12
GhostKit_Breakpoints::get_breakpoints_hash()
S
65 1 12
GhostKit_Extension_Display::__construct()
S
65 1 12
GhostKit_Breakpoints::get_breakpoints_hash()
S
65 1 12
GhostKit::block_categories_all()
S
65 1 11
GhostKit_Fonts::get_default_site_font()
S
64 1 11
GhostKit_Customizer_Plugin::register_meta()
S
65 1 11
GhostKit_Typography_Plugin::register_meta()
S
65 1 11
GhostKit::parse_blocks_css()
S
80 1 3
GhostKit_Ask_Review_Notice::__construct()
S
73 1 5
GhostKit_Assets::wp_enqueue_head_custom_assets()
S
80 1 3
GhostKit_Breakpoints::get_plugin_path()
S
81 1 3
GhostKit_Form_Block::__construct()
S
64 1 9
GhostKit_Widgetized_Area_Block::init()
S
68 1 8
GhostKit_Assets::register_style()
S
65 1 9
GhostKit_Settings::__construct()
S
73 1 5
GhostKit::php_translation()
S
78 1 3
GhostKit_Rest::get_instagram_profile_permission()
S
82 1 3
GhostKit_Reusable_Widget::__construct()
S
65 1 10
GhostKit_Extension_Styles::camel2dash()
S
78 1 3
GhostKit_Assets::wp_enqueue_foot_assets()
S
77 1 4
GhostKit_Custom_Code_Plugin::__construct()
S
79 1 3
GhostKit_Rest::get_instagram_feed_permission()
S
82 1 3
GhostKit_Instagram_Block::__construct()
S
79 1 3
GhostKit_Breakpoints::get_breakpoint_xs()
S
79 1 3
GhostKit_Breakpoints::get_plugin_path()
S
81 1 3
ghostkit_register_reusable_widget()
S
82 1 3
GhostKit_Breakpoints::get_default_breakpoints()
S
68 1 8
GhostKit_Breakpoints::get_default_breakpoints_hash()
S
66 1 10
GhostKit::__construct()
S
91 1 2
GhostKit::go_pro_link()
S
82 1 3
GhostKit_Breakpoints_Background::task()
S
77 1 4
GhostKit_Shapes_List::__construct()
S
75 1 4
GhostKit::add_go_pro_link_plugins_page()
S
68 1 8
GhostKit_Breakpoints::get_plugin_url()
S
81 1 3
GhostKit_Breakpoints::get_default_breakpoint_xs()
S
79 1 3
GhostKit_Form_Block::get_content_type()
S
82 1 3
GhostKit_Form_Field_Date_Block::__construct()
S
79 1 3
GhostKit_Typography::__construct()
S
71 1 5
GhostKit_Assets::enqueue_style()
S
75 1 4
GhostKit_Assets::is_webpack_hmr_support()
S
79 1 3
GhostKit_Form_Field_Submit_Block::init()
S
80 1 3
GhostKit_Breakpoints::get_breakpoint_lg()
S
79 1 3
GhostKit_Breakpoints::get_breakpoint_sm()
S
79 1 3
GhostKit_Deprecated_Extension_Styles::__construct()
S
78 1 3
GhostKit_3rd_Rank_Math::__construct()
S
79 1 3
GhostKit_Form_Field_Number_Block::__construct()
S
79 1 3
GhostKit_Breakpoints::__construct()
S
71 1 5
GhostKit_Form_Field_Checkbox_Block::__construct()
S
79 1 3
GhostKit_Icons_List::__construct()
S
69 1 6
GhostKit_Form_Field_Text_Block::__construct()
S
79 1 3
GhostKit_Form_Field_Textarea_Block::__construct()
S
79 1 3
GhostKit_Migrations::get_migrations()
S
68 1 8
GhostKit_Rest::success()
S
67 1 9
GhostKit_Form_Block::mail_before_send()
S
79 1 3
GhostKit_Breakpoints::get_default_breakpoint_md()
S
79 1 3
GhostKit_Fonts::add_default_site_fonts()
S
66 1 9
GhostKit_Instagram_Block::init()
S
68 1 8
GhostKit_Breakpoints::get_default_breakpoint_sm()
S
79 1 3
GhostKit_Breakpoints::get_default_breakpoints_hash()
S
65 1 10
GhostKit_Rest::get_attachment_image_permission()
S
82 1 3
GhostKit_TOC_Block::init()
S
68 1 8
GhostKit_3rd_Rank_Math::toc_plugin()
S
76 1 4
GhostKit_Fonts::__construct()
S
71 1 5
GhostKit_Form_Field_Url_Block::__construct()
S
79 1 3
GhostKit_Form_Field_Submit_Block::__construct()
S
79 1 3
GhostKit_Assets::enqueue_scripts_action()
S
70 1 6
GhostKit_Extensions::register()
S
64 1 10
GhostKit_Breakpoints::get_breakpoint_xs()
S
79 1 3
GhostKit_Form_Block::get_mail_html()
S
73 1 5
GhostKit_Fonts::enqueue_fonts()
S
75 1 4
GhostKit_Widgetized_Area_Block::__construct()
S
79 1 3
GhostKit_Breakpoints::get_default_breakpoint_lg()
S
79 1 3
GhostKit_Rest::update_google_maps_api_key()
S
75 1 4
GhostKit_Parse_Blocks::render_block()
S
72 1 5
GhostKit_Form_Field_Name_Block::__construct()
S
79 1 3
GhostKit_Rest::get_twitter_profile_permission()
S
82 1 3
GhostKit_Deprecated_Extension_Custom_CSS::__construct()
S
78 1 3
GhostKit_Form_Field_Email_Block::__construct()
S
79 1 3
GhostKit_Form_Field_Hidden_Block::__construct()
S
79 1 3
GhostKit_Breakpoints::get_breakpoint_md()
S
79 1 3
GhostKit_Typography::typography_exist()
S
81 1 3
GhostKit_Form_Block::mail_after_send()
S
79 1 3
ghostkit()
S
82 1 3
GhostKit_Breakpoints::get_default_breakpoint_xs()
S
79 1 3
GhostKit_Deprecated_Extensions::__construct()
S
78 1 3
GhostKit::admin_init()
S
68 1 7
GhostKit_Rest::get_twitter_feed_permission()
S
82 1 3
GhostKit_Twitter_Block::__construct()
S
79 1 3
GhostKit_Assets::__construct()
S
64 1 9
GhostKit_Breakpoints::get_plugin_url()
S
81 1 3
GhostKit_Extension_Attributes::__construct()
S
67 1 10
GhostKit_Form_Field_Select_Block::__construct()
S
79 1 3
GhostKit_Typography_Plugin::__construct()
S
79 1 3
GhostKit_Rest::__construct()
S
79 1 3
GhostKit_Deprecated_Scroll_Reveal::__construct()
S
78 1 3
GhostKit_Breakpoints::get_breakpoint_md()
S
79 1 3
GhostKit_Rest::update_google_recaptcha_keys()
S
72 1 5
GhostKit_Assets::wp_enqueue_head_assets()
S
77 1 4
GhostKit_Assets::wp_enqueue_foot_custom_assets()
S
80 1 3
GhostKit_Breakpoints::get_default_breakpoint_sm()
S
79 1 3
GhostKit_Form_Field_Phone_Block::__construct()
S
79 1 3
GhostKit_Form_Field_Radio_Block::__construct()
S
79 1 3
GhostKit_Breakpoints::get_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_default_breakpoints()
S
68 1 8
GhostKit_Assets::enqueue_script()
S
74 1 4
GhostKit_Twitter_Block::init()
S
68 1 8
GhostKit_Assets::add_custom_js()
S
72 1 5
GhostKit_Settings::display_admin_page()
S
83 1 5
GhostKit_Breakpoints::get_default_breakpoint_md()
S
79 1 3