Code Analysis: Download List Block with Icons 3.2.2

Function Rating Maintainability Complexity Lines of code
downloadlist_render_block()
B
37 18 73
downloadlist\Helper::regenerate_icons()
A
41 14 55
downloadlist\Helper::generate_css()
A
36 11 84
downloadlist_admin_icon_set_fields_save()
A
50 12 27
downloadlist\Uninstaller::run()
A
43 10 48
downloadlist\Helper::add_generic_iconset()
A
45 10 40
downloadlist_enqueue_styles()
A
53 8 25
downloadlist\Transient::display()
A
49 7 33
downloadlist_autoloader()
S
49 7 29
downloadlist_admin_icon_set_fields()
S
44 5 56
downloadlist_check_taxonomy()
S
53 7 21
downloadlist_wp_prepare_attachment_for_js()
S
56 7 17
downloadlist_filter_icon_taxonomy_ajax()
S
57 7 15
downloadlist\iconsets\Dashicons::get_icon_codes()
S
35 1 104
downloadlist\iconsets\Fontawesome::get_icon_codes()
S
34 1 104
downloadlist\iconsets\Bootstrap::get_icon_codes()
S
34 1 104
downloadlist_admin_meta_boxes_settings()
S
47 5 40
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_init()
S
42 2 65
downloadlist\iconsets\Bootstrap::get_style_for_filetype()
S
53 5 20
downloadlist_rest_api_filetypes()
S
56 4 19
downloadlist\iconsets\Custom::get_file_types()
S
50 3 30
downloadlist_add_taxonomies()
S
45 2 45
downloadlist_hide_generated_iconsets()
S
59 4 15
downloadlist_api_return_file_data()
S
60 4 14
downloadlist_admin_iconset_column()
S
56 3 17
downloadlist_admin_iconset_set_default()
S
65 4 8
downloadlist_ajax_query_attachments_args()
S
68 4 6
downloadlist\Transient::get_admin_transient_dismiss_cache()
S
64 4 9
downloadlist_save_custom_text_attachment_field()
S
61 3 13
downloadlist_add_styles_and_js_admin()
S
52 2 27
downloadlist_add_position_posttype()
S
45 1 42
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_update()
S
62 3 11
downloadlist\iconsets\Custom::get_style_for_filetype()
S
61 3 11
downloadlist_get_template()
S
64 3 10
downloadlist\Iconsets::get_generic_sets_as_slug_array()
S
66 3 9
downloadlist\Iconsets::get_iconset_by_slug()
S
67 3 8
downloadlist\Iconsets::get_default_iconset()
S
68 3 8
downloadlist\Transients::check_transients()
S
70 3 7
downloadlist\Iconsets::get_gfx_sets_as_slug_array()
S
66 3 9
downloadlist\Transient::is_transient_not_dismissed()
S
66 3 8
downloadlist_admin_meta_boxes()
S
64 2 11
downloadlist\Helper::set_iconset_default()
S
62 2 11
downloadlist\iconsets\Custom::get_icons()
S
58 1 17
downloadlist\Helper::get_type_and_subtype_from_mimetype()
S
65 2 9
downloadlist\Uninstaller::get_instance()
S
71 2 6
downloadlist\Installer::get_instance()
S
71 2 6
downloadlist\Iconset_Base::get_style_for_file()
S
73 2 6
downloadlist\Iconset_Base::get_instance()
S
71 2 6
downloadlist\Iconsets::get_instance()
S
71 2 6
downloadlist_add_custom_text_field_to_attachment_fields_to_edit()
S
59 1 15
downloadlist_admin_notices()
S
72 2 6
downloadlist\Transients::get_instance()
S
72 2 6
downloadlist_add_rest_api()
S
62 1 13
downloadlist_rest_api()
S
62 1 13
downloadlist\Iconset_Base::should_be_default()
S
82 1 3
downloadlist_register_fontawesome_iconset()
S
77 1 4
downloadlist\Iconset_Base::get_icons()
S
82 1 3
downloadlist_admin_iconset_columns()
S
70 1 6
downloadlist\Transients::get_transient_by_name()
S
80 1 3
downloadlist_change_post_labels()
S
68 1 7
downloadlist\Uninstaller::__clone()
S
98 1 1
downloadlist_cli_register_commands()
S
80 1 3
downloadlist\iconsets\Bootstrap::get_style_files()
S
66 1 9
downloadlist\Transient::__construct()
S
81 1 3
downloadlist\Cli::generate_styles()
S
82 1 3
downloadlist\Transient::has_message()
S
80 1 3
downloadlist\Transient::set_name()
S
81 1 3
downloadlist\iconsets\Fontawesome::init()
S
79 1 3
downloadlist\iconsets\Fontawesome::get_file_types()
S
80 1 3
downloadlist\Iconset_Base::get_label()
S
82 1 3
downloadlist\Helper::get_style_url()
S
74 1 4
downloadlist\Transient::get_dismissible_days()
S
82 1 3
downloadlist\Iconset_Base::get_slug()
S
82 1 3
downloadlist\Transient::get_entry()
S
67 1 8
downloadlist\Transient::is_set()
S
79 1 3
downloadlist\Iconset_Base::is_gfx()
S
82 1 3
downloadlist\iconsets\Bootstrap::get_file_types()
S
80 1 3
downloadlist\Iconset_Base::get_file_types()
S
82 1 3
downloadlist\Uninstaller::__construct()
S
98 1 1
downloadlist\Transient::get_message()
S
82 1 3
downloadlist\Transients::add()
S
81 1 3
downloadlist\Iconset_Base::__clone()
S
98 1 1
downloadlist\Helper::get_mime_types()
S
66 1 9
downloadlist\Iconsets::get_icon_sets()
S
80 1 3
downloadlist\Helper::get_style_path()
S
74 1 4
downloadlist_register_dashicon_iconset()
S
77 1 4
downloadlist\Installer::deactivation()
S
91 1 2
downloadlist\Transient::get_name()
S
82 1 3
downloadlist\Transient::set_dismissible_days()
S
81 1 3
downloadlist\Transients::__construct()
S
98 1 1
downloadlist\Iconset_Base::is_generic()
S
82 1 3
downloadlist\Transient::has_action()
S
80 1 3
downloadlist\Installer::activation()
S
70 1 7
downloadlist\Transient::set_type()
S
81 1 3
downloadlist\Transient::delete()
S
77 1 4
downloadlist\Iconset_Base::get_type()
S
82 1 3
downloadlist\Transient::get_type()
S
82 1 3
downloadlist\Cli::regenerate_icons()
S
82 1 3
downloadlist\Transients::__clone()
S
98 1 1
downloadlist\iconsets\Bootstrap::init()
S
79 1 3
downloadlist\Transient::get_action()
S
82 1 3
downloadlist\Iconset_Base::has_label()
S
80 1 3
downloadlist\Transient::save()
S
76 1 4
downloadlist\Installer::__clone()
S
98 1 1
downloadlist\Cli::reset_plugin()
S
78 1 4
downloadlist_change_post_labels_bulk()
S
71 1 5
downloadlist\Transient::set_message()
S
81 1 3
downloadlist\Installer::__construct()
S
98 1 1
downloadlist\iconsets\Fontawesome::get_style_files()
S
66 1 9
downloadlist_register_bootstrap_iconset()
S
77 1 4
downloadlist\iconsets\Dashicons::get_style_files()
S
71 1 7
downloadlist\iconsets\Dashicons::init()
S
79 1 3
downloadlist\Iconset_Base::has_type()
S
80 1 3
downloadlist\Iconset_Base::__construct()
S
82 1 3
downloadlist\iconsets\Dashicons::get_file_types()
S
80 1 3
downloadlist_updated_shows_messages()
S
66 1 8
downloadlist\Iconsets::__construct()
S
98 1 1
downloadlist\Iconset_Base::get_style_files()
S
82 1 3
downloadlist\Transient::set_action()
S
81 1 3
downloadlist\Iconsets::init()
S
98 1 1
downloadlist\iconsets\Custom::init()
S
79 1 3
downloadlist_register_custom_iconset()
S
77 1 4
downloadlist\Iconsets::__clone()
S
98 1 1