Code Analysis: AltTextLab 1.1.5

Function Rating Maintainability Complexity Lines of code
AltTextLab_Post::collect_list_enrich_post_id()
D
28
37 125
AltTextLab_Post::update_product_images()
B
40 18 58
AltTextLab_Post::post_bulk_generate_alt_text_ajax()
B
37 16 73
AltTextLab_Post::process_images_with_tag_processor()
B
41 17 53
AltTextLab_Post::process_images_with_regex()
B
39 16 58
AltTextLab_Attachment::is_attachment_eligible()
A
45 15 36
AltTextLab_Post::enrich_post_content()
A
39 13 66
AltTextLab_SEO_Keywords::get_keywords_from_seo_plugins()
A
51 15 27
AltTextLab_WC_Integration::get_product_info()
A
47 13 35
AltTextLab_Post_UI::bulk_generate_meta_box_callback()
A
33 5 137
AltTextLab_Attachment::query_attachments_for_bulk_alt()
A
41 10 56
AltTextLab_WC_Integration::get_attribute_value_if_exist()
A
53 11 21
AltTextLab_Attachment::get_filtered_images_count()
A
47 10 34
AltTextLab_Attachment::ajax_single_generate()
A
48 10 33
AltTextLab_Post::collect_product_images_id()
A
51 10 25
AltTextLab_Attachment::alttextlab_bulk_generate_for_image()
A
47 9 36
AltTextLab_Settings::register_settings()
A
34 1 155
AltTextLab_API::generate_alt_text()
A
47 9 33
AltTextLab_Attachment::prepare_api_options()
A
50 9 31
AltTextLab_Attachment::filter_media_library_query_by_alt()
A
50 9 26
AltTextLab_SEO_Keywords::yoast_seo_keywords()
A
47 8 38
AltTextLab_Attachment::generate_alt()
A
48 8 32
AltTextLab_Attachment::alttextlab_bulk_generate()
A
45 7 43
AltTextLab_Post::collect_images_with_regex()
A
52 8 23
AltTextLab_Attachment_Helper::get_attachment_size()
A
54 8 20
AltTextLab_Post::get_media_ids_from_post()
S
49 7 28
AltTextLab_Post::collect_images_with_tag_processor()
S
52 7 23
AltTextLab_Attachment::validate_image_for_generation()
S
54 7 19
AltTextLab_Settings::remove_api_key_missing_param()
S
56 7 17
AltTextLab_Attachment::action_single_attachment_generate_alt()
S
59 7 14
AltTextLab_Post::enrich_post_content_is_ajax()
S
59 7 11
AltTextLab_SEO_Keywords::theseoframework_seo_keywords()
S
53 6 24
AltTextLab_Notice::display_enrich_post_content_success_notice()
S
55 6 19
AltTextLab_Settings::save_api_key()
S
50 5 30
AltTextLab_Attachment_Helper::lookup_attachment_id()
S
53 5 21
AltTextLab_SEO_Keywords::aio_seo_keywords()
S
54 5 20
AltTextLab_Attachment::apply_alt_text_to_attachment()
S
57 5 17
AltTextLab_API::get_account()
S
55 4 19
AltTextLab_Settings::register_settings_pages()
S
46 2 47
AltTextLab_Attachment::call_api_with_retry()
S
57 4 16
AltTextLab_Post::collect_list_enrich_post_id_is_ajax()
S
61 5 10
AltTextLab_SEO_Keywords::get_post_id()
S
60 4 13
AltTextLab::enqueue_meta_box_styles()
S
63 4 11
AltTextLab_Attachment_Helper::get_attachment_id_from_path()
S
53 3 26
AltTextLab_Attachment::ajax_is_attachment_eligible()
S
55 3 20
AltTextLab_Post::bulk_select_action_handler()
S
55 3 19
AltTextLab::define_admin_hooks()
S
43 1 47
AltTextLab_SEO_Keywords::squirrly_seo_keywords()
S
57 3 16
AltTextLab_Notice::display_api_key_missing_notice()
S
59 3 15
AltTextLab_Settings::handleReviewBannerSettings()
S
62 4 10
AltTextLab_SEO_Keywords::rankmath_seo_keywords()
S
59 3 14
AltTextLab_SEO_Keywords::seopress_seo_keywords()
S
59 3 14
AltTextLab_API::build_body()
S
59 3 14
AltTextLab_API::request()
S
59 3 14
AltTextLab_Attachment::log_error()
S
61 3 13
AltTextLab_Post::return_success_message()
S
62 3 12
AltTextLab_SEO_Keywords::smartcrawl_seo_keywords()
S
61 3 12
AltTextLab_Post::register_bulk_action()
S
61 3 11
AltTextLab_Admin::enqueue_scripts()
S
50 2 26
AltTextLab_Notice::render_bulk_select_notice()
S
57 2 18
AltTextLab_Attachment::ajax_edit_history()
S
57 2 16
AltTextLab_Settings::clear_error_logs()
S
64 3 10
AltTextLab_Attachment_Helper::get_attachment_language()
S
68 3 7
AltTextLab_Activator::set_basic_settings()
S
63 3 10
AltTextLab_WC_Integration::get_product_title_if_exist()
S
73 3 4
AltTextLab_Settings::load_account()
S
59 2 15
AltTextLab_Loader::run()
S
66 3 8
AltTextLab_Notice::display_setup_notice()
S
59 2 15
AltTextLab_Notice::display_notice_api_key_invalid()
S
59 2 15
AltTextLab_WC_Integration::resolve_product_id()
S
60 2 14
AltTextLab_Notice::display_tokens_notice()
S
60 2 14
AltTextLab_Notice::display_notice_try_later()
S
60 2 14
AltTextLab_Post_UI::add_bulk_generate_meta_box()
S
64 2 11
AltTextLab::load_dependencies()
S
56 1 18
AltTextLab_Database::create_or_update_table()
S
59 1 16
AltTextLab_Settings::sanitize_yes_no_checkbox()
S
79 2 3
AltTextLab::__construct()
S
65 2 10
AltTextLab_WC_Integration::get_brand_if_exist()
S
73 2 4
AltTextLab_Logger::log_error()
S
59 1 15
AltTextLab_Activator::activate()
S
65 2 9
AltTextLab_Attachment::render_media_alt_filter_dropdown()
S
62 2 10
AltTextLab_Settings::sanitize_language_option()
S
75 2 4
AltTextLab_SEO_Keywords::get_seo_keywords()
S
65 2 9
AltTextLab_Attachment::bulk_select_action_handler()
S
64 2 9
AltTextLab_Database::check_database_schema()
S
68 2 7
AltTextLab_Utility::has_yoast()
S
78 2 3
AltTextLab_Attachment::add_attachment()
S
71 2 6
AltTextLab_Utility::has_theseoframework()
S
79 2 3
AltTextLab_Settings::sanitize_model_name_option()
S
74 2 4
AltTextLab_Utility::is_publicly_accessible()
S
68 2 7
AltTextLab_Database::query_images_without_alt_text()
S
63 1 14
AltTextLab_Storage::record_alttextlab_asset()
S
62 1 13
AltTextLab_Storage::get_assets_paginated()
S
62 1 12
AltTextLab_Settings::register_account_settings()
S
64 1 11
AltTextLab::get_plugin_name()
S
82 1 3
AltTextLab_Post_UI::__construct()
S
80 1 3
AltTextLab_Storage::get_count_total_assets()
S
68 1 7
AltTextLab_Utility::get_review_url()
S
77 1 4
AltTextLab_Utility::has_aioseo()
S
80 1 3
AltTextLab_Attachment::get_all_images_count()
S
70 1 6
AltTextLab_Loader::add()
S
64 1 10
AltTextLab_Utility::has_seopress()
S
80 1 3
AltTextLab_Attachment::get_images_without_alt_text_count()
S
70 1 6
AltTextLab_Settings::render_settings_page()
S
75 1 4
AltTextLab_Settings::enqueue_styles()
S
77 1 3
alttextlab_activate()
S
76 1 4
AltTextLab_Settings::__construct()
S
81 1 3
AltTextLab_Utility::supported_model_names()
S
78 1 3
AltTextLab_Loader::add_filter()
S
77 1 3
AltTextLab_Utility::has_woocommerce()
S
80 1 3
AltTextLab_Utility::get_api_key()
S
75 1 4
AltTextLab_Admin::__construct()
S
77 1 4
AltTextLab_Utility::has_smartcrawl()
S
74 1 4
AltTextLab_Logger::get_error_logs()
S
79 1 3
AltTextLab_Post::on_post_deleted()
S
81 1 3
AltTextLab_API::__construct()
S
76 1 4
AltTextLab_Utility::get_credits_url()
S
77 1 4
AltTextLab_Utility::supported_languages()
S
78 1 3
AltTextLab_Storage::remove_alttextlab_asset()
S
71 1 5
AltTextLab_Loader::add_action()
S
77 1 3
AltTextLab_Post::add_bulk_select_action()
S
72 1 5
AltTextLab_Post::__construct()
S
71 1 6
AltTextLab_Database::query_all_images()
S
67 1 10
AltTextLab_Attachment::__construct()
S
68 1 7
AltTextLab_Settings::expire_insufficient_credits_notice()
S
67 1 8
AltTextLab_Attachment::add_bulk_select_action()
S
72 1 5
AltTextLab_Utility::has_squirrly()
S
80 1 3
AltTextLab_API::log_api_error()
S
69 1 6
alttextlab_deactivate()
S
100 1 2
AltTextLab::run()
S
82 1 3
AltTextLab_Settings::render_bulk_generate_page()
S
75 1 4
AltTextLab_WC_Integration::filtered_ecomm_data()
S
75 1 4
AltTextLab_Settings::render_account_settings_page()
S
75 1 4
AltTextLab_Settings::render_history_page()
S
75 1 4
AltTextLab_Admin::enqueue_styles()
S
77 1 3
AltTextLab_Utility::has_rankmath()
S
80 1 3
AltTextLab::get_version()
S
82 1 3
AltTextLab_Loader::__construct()
S
77 1 4
alttextlab_run()
S
77 1 4