Code Analysis: Gutenberg Blocks and Page Layouts - Attire Blocks 1.9.3

Function Rating Maintainability Complexity Lines of code
atbs_render_post_carousel()
D
18
46 229
atbs_render_post_grid()
C
32 28 94
atbs_customize_css()
C
40 25 51
atbs_get_filtered_posts()
B
34 22 86
atbs_render_product_categories()
B
40 17 48
ATBS_Table_Of_Content::render_table_of_contents()
B
35 14 90
Attire\Blocks\__::sanitize_var()
B
41 16 54
atbs_customize_color_scheme()
A
26
1 267
atbs_post_html()
A
34 12 98
Attire\Blocks\__::option_field()
A
43 14 39
ATBS_Table_Of_Content::table_of_contents_render_list()
A
42 13 52
Attire\Blocks\ImageUploader::downloadImage()
A
41 13 51
atbs_register_post_carousel()
A
27
2 211
Attire\Blocks\ATBSCustomCss::get_block_custom_css()
A
50 14 25
Attire\Blocks\__::valueof()
A
52 14 21
atbs_register_post_grid()
A
29
2 174
Attire\Blocks\__::query_var()
A
55 11 17
Attire\Blocks\AttireImageAutoUpload::findAllImageUrls()
A
49 9 31
ATBS_Table_Of_Content::table_of_contents_get_headings_from_content()
A
44 8 44
Attire\Blocks\Util::typographyCss()
A
50 9 28
Attire\Blocks\Crypt::decrypt()
A
49 8 27
Attire\Blocks\AttireImageAutoUpload::savePost()
S
61 8 12
Attire\Blocks\ImageUploader::getHostUrl()
S
59 8 12
Attire\Blocks\AttireImageAutoUpload::save()
S
50 7 25
atbs_render_voting()
S
50 7 23
imageFullTemplate()
S
54 7 19
Attire\Blocks\Session::get()
S
55 7 18
Attire\Blocks\__::get_client_ip()
S
57 7 18
Attire\Blocks\Session::clientIP()
S
58 7 17
Attire\Blocks\Util::is_pro()
S
56 7 17
Attire\Blocks\ImageUploader::validate()
S
57 7 16
atbs_seeMoreHtml()
S
56 7 15
ATBS_Table_Of_Content::filter_headings_by_mapping_headers()
S
58 6 16
Attire\Blocks\ATBSCustomCss::render_server_side_css()
S
57 6 16
wp_get_image_mime()
S
57 6 16
atbs_search_by_title()
S
56 6 16
Attire\Blocks\Session::clear()
S
61 7 10
Attire\Blocks\__::sanitize_array()
S
59 6 13
metaHtml()
S
49 5 27
atbs_register_product_categories()
S
40 2 69
Attire_Color_Choice_panel::render_content()
S
50 4 36
atbs_enqueue_client_scripts()
S
55 5 18
imageLeftTemplate()
S
56 5 17
Attire\Blocks\Crypt::encrypt()
S
55 5 17
imageTopTemplate()
S
57 5 16
Attire\Blocks\Session::__construct()
S
56 5 16
Attire\Blocks\__::option_page()
S
57 5 15
atbs_register_voting()
S
42 2 58
atbs_admin_script()
S
59 5 13
ATBS_Table_Of_Content::register_table_of_contents()
S
40 1 68
Attire\Blocks\ImageUploader::resolvePattern()
S
52 4 22
Attire\Blocks\Util::validate_license()
S
48 3 35
atbs_enqueue_block_editor_assets()
S
41 1 63
Attire\Blocks\__::media_field()
S
59 4 16
Attire\Blocks\Util::getValueByIndex()
S
67 5 7
categoryHtml()
S
63 5 9
ATBS_Table_Of_Content::update_toc_title()
S
62 4 11
Attire_Preset_Choice_panel::render_content()
S
56 3 22
Attire\Blocks\AttireBlocksSettings::disable_fe_assets()
S
56 3 18
Attire\Blocks\Util::getTypographyProps()
S
45 1 48
atbs_upvote()
S
56 3 17
atbs_downvote()
S
56 3 17
Attire\Blocks\ImageUploader::getUploadDir()
S
68 4 6
Attire\Blocks\Session::saveSession()
S
64 4 9
titleHtml()
S
72 4 4
Attire\Blocks\ImageUploader::attachImage()
S
57 3 15
ATBS_Table_Of_Content::table_of_contents_linear_to_nested_heading_list()
S
60 3 13
atbs_customize_presets()
S
49 1 35
atbs_enqueue_assets()
S
57 2 19
atbs_search_custom_post()
S
57 2 17
Attire\Blocks\Util::getBgAttributes()
S
50 1 31
Attire\Blocks\__::is_ajax()
S
71 3 5
priceAndAddToCartHtml()
S
63 3 9
excerptHtml()
S
70 3 6
Attire\Blocks\ImageUploader::save()
S
65 3 10
Attire\Blocks\Session::set()
S
69 3 5
Attire\Blocks\Util::check_again()
S
68 3 7
atbs_enqueue_frontend_assets()
S
59 2 15
atbs_get_tax_by_search()
S
58 2 15
Attire\Blocks\AttireBlocksSettings::verify_license_key()
S
60 2 13
ATBS_Table_Of_Content::clean()
S
60 2 13
Attire\Blocks\Util::getReadMoreAttributes()
S
53 1 28
Attire\Blocks\ImageUploader::resizeImage()
S
61 2 12
Attire\Blocks\AttireImageAutoUpload::getOptions()
S
63 2 11
Attire\Blocks\Util::getSpacingProps()
S
56 1 20
Attire\Blocks\Util::getBorderAttributes()
S
56 1 20
Attire\Blocks\ATBSCustomCss::instance()
S
70 2 7
Attire\Blocks\__::p()
S
72 2 5
atbs_pg_category_css()
S
68 2 7
atbs_get_taxonomies()
S
68 2 7
Attire\Blocks\ImageUploader::getExtension()
S
63 2 10
Attire\Blocks\ImageUploader::getFilename()
S
73 2 4
Attire\Blocks\ImageUploader::isNeedToResize()
S
79 2 3
Attire\Blocks\__::d()
S
70 2 6
Attire\Blocks\ImageUploader::getOriginalFilename()
S
66 2 8
Attire\Blocks\Util::atbsprecho()
S
69 2 6
Attire\Blocks\Crypt::encKey()
S
65 2 8
Attire\Blocks\ATBSCustomCss::parse_blocks()
S
69 2 7
ATBS_Table_Of_Content::get_instance()
S
71 2 6
Attire\Blocks\AttireBlocksSettings::getInstance()
S
69 2 7
Attire_Color_Choice_panel::atbs_build_field_html()
S
65 2 9
get_types()
S
68 2 7
Attire\Blocks\Util::console_log()
S
66 2 8
Attire\Blocks\AttireImageAutoUpload::getOption()
S
68 2 7
iconCss()
S
61 1 12
Attire\Blocks\AttireBlocksSettings::register_custom_menu_page()
S
64 1 11
Attire\Blocks\Crypt::__construct()
S
100 1 2
Attire\Blocks\Util::__construct()
S
100 1 2
Attire\Blocks\AttireImageAutoUpload::run()
S
78 1 3
Attire\Blocks\Util::getSpacingStyles()
S
64 1 8
Attire\Blocks\__::is_url()
S
74 1 4
atbs_pg_atc_css()
S
70 1 5
Attire\Blocks\ATBSCustomCss::init()
S
79 1 3
Attire\Blocks\AttireImageAutoUpload::resetOptionsToDefaults()
S
65 1 9
atbs_excerpt()
S
70 1 6
Attire\Blocks\Session::deviceID()
S
80 1 3
send_updated_vote_count()
S
70 1 5
Attire\Blocks\Session::show()
S
74 1 5
wp_image_editor_supports()
S
83 1 3
Attire\Blocks\ImageUploader::getAlt()
S
80 1 3
Attire\Blocks\AttireBlocksSettings::admin_page_html()
S
81 1 3
atbs_remove_upvote()
S
73 1 4
atbs_enqueue_customize_script()
S
77 1 3
borderCss()
S
70 1 6
wp_basename()
S
77 1 3
atbs_remove_downvote()
S
73 1 4
Attire\Blocks\ATBSCustomCss::__clone()
S
78 1 3
Attire\Blocks\ImageUploader::__construct()
S
74 1 5
Attire\Blocks\ATBSCustomCss::__wakeup()
S
78 1 3
Attire\Blocks\AttireBlocksSettings::actions()
S
70 1 6
atbs_add_upvote()
S
73 1 4
typographyCss()
S
70 1 6
thumbHtml()
S
77 1 3
ATBS_Table_Of_Content::__construct()
S
71 1 5
atbs_targeted_link_rel()
S
83 1 3
Attire\Blocks\__::escs()
S
79 1 3
ATBS_Table_Of_Content::delete_toc_meta()
S
80 1 3
viewTypeCss()
S
70 1 6
atbs_hex2rgb()
S
74 1 4
Attire\Blocks\AttireBlocksSettings::custom_menu_icon()
S
83 1 3
Attire\Blocks\__::settings_section()
S
77 1 3
atbs_add_downvote()
S
73 1 4
Attire\Blocks\Util::get_border_css()
S
76 1 3