Code Analysis: Download List Block with Icons 3.4.0

Function Rating Maintainability Complexity Lines of code
downloadlist_render_block()
B
36 19 73
downloadlist\Helper::generate_css()
B
34 14 104
downloadlist\Helper::regenerate_icons()
B
39 16 64
downloadlist\Helper::add_generic_iconsets()
A
40 12 60
downloadlist_admin_icon_set_fields_save()
A
50 12 27
downloadlist\Uninstaller::run()
A
43 10 48
downloadlist_enqueue_styles()
A
51 9 28
downloadlist_check_taxonomy()
A
53 8 21
downloadlist\Transient::display()
A
49 7 33
downloadlist_autoloader()
S
49 7 29
downloadlist_admin_icon_set_fields()
S
44 5 56
downloadlist_wp_prepare_attachment_for_js()
S
56 7 17
downloadlist\iconsets\Fontawesome::get_icon_codes()
S
34 1 104
downloadlist\iconsets\Bootstrap::get_icon_codes()
S
34 1 104
downloadlist\iconsets\Dashicons::get_icon_codes()
S
35 1 104
downloadlist_admin_meta_boxes_settings()
S
47 5 40
downloadlist_update()
S
53 6 23
downloadlist\iconsets\Dashicons::get_style_for_filetype()
S
53 6 20
downloadlist\iconsets\Fontawesome::get_style_for_filetype()
S
53 6 20
downloadlist_add_image_size()
S
54 6 19
downloadlist_add_styles_and_js_admin()
S
47 4 38
downloadlist\iconsets\Bootstrap::get_style_for_filetype()
S
53 5 20
downloadlist_init()
S
44 2 58
downloadlist_filter_icon_taxonomy_ajax()
S
60 5 12
downloadlist_hide_generated_iconsets()
S
54 4 24
downloadlist_rest_api_filetypes()
S
56 4 19
downloadlist_add_taxonomies()
S
45 2 46
downloadlist\iconsets\Custom::get_file_types()
S
50 3 30
downloadlist_api_return_file_data()
S
60 4 14
downloadlist_register_custom_iconset()
S
51 3 28
downloadlist_admin_iconset_column()
S
56 3 17
downloadlist_ajax_query_attachments_args()
S
68 4 6
downloadlist_admin_iconset_set_default()
S
65 4 8
downloadlist\Transient::get_admin_transient_dismiss_cache()
S
64 4 9
downloadlist_save_custom_text_attachment_field()
S
61 3 13
downloadlist\Transients::get_transients()
S
62 3 12
downloadlist\Transients::add_transient()
S
61 3 12
downloadlist\Transients::delete_transient()
S
62 3 12
downloadlist\iconsets\Custom::get_style_for_filetype()
S
61 3 11
downloadlist_add_position_posttype()
S
46 1 40
downloadlist_cleanup()
S
54 2 23
downloadlist\Transients::check_transients()
S
70 3 7
downloadlist\Iconsets::get_iconset_by_slug()
S
67 3 8
downloadlist\Iconsets::get_default_iconset()
S
68 3 8
downloadlist\Transient::is_transient_not_dismissed()
S
66 3 8
downloadlist_admin_icons_column()
S
65 3 9
downloadlist_get_template()
S
64 3 10
downloadlist\Iconsets::get_generic_sets_as_slug_array()
S
66 3 9
downloadlist\Helper::get_type_and_subtype_from_mimetype()
S
61 2 12
downloadlist\Helper::set_iconset_default()
S
62 2 11
downloadlist\Iconsets::get_generic_sets_cpts()
S
57 1 17
downloadlist\iconsets\Custom::get_icons()
S
58 1 17
downloadlist_trash_post()
S
72 2 6
downloadlist\Iconset_Base::get_instance()
S
71 2 6
downloadlist\Iconsets::get_instance()
S
71 2 6
downloadlist\Transients::get_instance()
S
72 2 6
downloadlist\Uninstaller::get_instance()
S
71 2 6
downloadlist\Installer::get_instance()
S
71 2 6
downloadlist\Installer::activation()
S
64 2 10
downloadlist\Iconset_Base::get_style_for_file()
S
73 2 6
downloadlist_reduce_count()
S
69 2 7
downloadlist_remove_easy_language_support()
S
71 2 6
downloadlist_admin_notices()
S
72 2 6
downloadlist_add_custom_text_field_to_attachment_fields_to_edit()
S
59 1 15
downloadlist_rest_api()
S
62 1 13
downloadlist_add_rest_api()
S
62 1 13
downloadlist\Transient::save()
S
76 1 4
downloadlist_generate_classname()
S
81 1 3
downloadlist\Installer::__construct()
S
98 1 1
downloadlist_admin_icons_columns()
S
65 1 9
downloadlist\Transient::get_type()
S
82 1 3
downloadlist_updated_shows_messages()
S
66 1 8
downloadlist\iconsets\Fontawesome::get_file_types()
S
80 1 3
downloadlist_register_dashicon_iconset()
S
77 1 4
downloadlist\Helper::get_style_filename()
S
75 1 4
downloadlist\iconsets\Dashicons::get_style_files()
S
68 1 8
downloadlist\Iconset_Base::should_be_default()
S
82 1 3
downloadlist\Transient::has_action()
S
80 1 3
downloadlist\Transients::__clone()
S
98 1 1
downloadlist\Transient::get_entry()
S
67 1 8
downloadlist\Transient::is_set()
S
79 1 3
downloadlist\Transient::set_message()
S
81 1 3
downloadlist\Iconset_Base::get_label()
S
82 1 3
downloadlist\Iconset_Base::__construct()
S
82 1 3
downloadlist\Transient::set_name()
S
81 1 3
downloadlist\Cli::regenerate_icons()
S
82 1 3
downloadlist\Iconsets::get_icon_sets()
S
76 1 4
downloadlist\Transients::get_transient_by_name()
S
80 1 3
downloadlist_admin_meta_boxes()
S
69 1 8
downloadlist\Installer::deactivation()
S
98 1 1
downloadlist\Transient::get_dismissible_days()
S
82 1 3
downloadlist\Transient::__construct()
S
81 1 3
downloadlist\Iconset_Base::is_gfx()
S
82 1 3
downloadlist_admin_iconset_columns()
S
70 1 6
downloadlist\iconsets\Fontawesome::init()
S
79 1 3
downloadlist\Cli::reset_plugin()
S
78 1 4
downloadlist\iconsets\Fontawesome::get_style_files()
S
64 1 10
downloadlist\Uninstaller::__clone()
S
98 1 1
downloadlist\Iconsets::__clone()
S
98 1 1
downloadlist\Iconset_Base::get_slug()
S
82 1 3
downloadlist_register_bootstrap_iconset()
S
77 1 4
downloadlist\Iconset_Base::get_file_types()
S
82 1 3
downloadlist\Iconset_Base::get_type()
S
82 1 3
downloadlist\Transient::get_name()
S
82 1 3
downloadlist\Transient::has_message()
S
80 1 3
downloadlist\Transients::add()
S
81 1 3
downloadlist\Installer::__clone()
S
98 1 1
downloadlist\Iconset_Base::set_slug()
S
81 1 3
downloadlist\Iconset_Base::is_generic()
S
82 1 3
downloadlist\Transients::__construct()
S
98 1 1
downloadlist\iconsets\Dashicons::init()
S
79 1 3
downloadlist\iconsets\Bootstrap::get_style_files()
S
64 1 10
downloadlist\Transient::set_dismissible_days()
S
81 1 3
downloadlist\Helper::get_style_url()
S
71 1 5
downloadlist\Iconset_Base::has_type()
S
80 1 3
downloadlist\iconsets\Custom::init()
S
79 1 3
downloadlist\Helper::get_mime_types()
S
65 1 9
downloadlist_register_fontawesome_iconset()
S
77 1 4
downloadlist_change_post_labels_bulk()
S
71 1 5
downloadlist_plugin_list_add_setting_link()
S
63 1 10
downloadlist\Cli::generate_styles()
S
82 1 3
downloadlist\Iconsets::init()
S
98 1 1
downloadlist\Transient::set_type()
S
81 1 3
downloadlist\Transient::delete()
S
77 1 4
downloadlist\Iconset_Base::__clone()
S
98 1 1
downloadlist\Transient::get_action()
S
82 1 3
downloadlist\Uninstaller::__construct()
S
98 1 1
downloadlist\Iconsets::__construct()
S
98 1 1
downloadlist\Iconset_Base::get_icons()
S
82 1 3
downloadlist_change_post_labels()
S
68 1 7
downloadlist_cli_register_commands()
S
80 1 3
downloadlist\Transient::get_message()
S
82 1 3
downloadlist\iconsets\Bootstrap::init()
S
79 1 3
downloadlist\Transient::set_action()
S
81 1 3
downloadlist\Helper::get_style_path()
S
71 1 5
downloadlist\iconsets\Bootstrap::get_file_types()
S
80 1 3
downloadlist\iconsets\Dashicons::get_file_types()
S
80 1 3
downloadlist\Iconset_Base::has_label()
S
80 1 3
downloadlist\Iconset_Base::get_style_files()
S
82 1 3