Code Analysis: Mistape 1.4.0

Function Rating Maintainability Complexity Lines of code
Deco_Mistape_Admin::validate_options()
D
33 33 78
Deco_Mistape_Reports_List_Table::process_bulk_action()
C
35 31 71
Deco_Mistape_Admin::print_options_page()
A
34 11 108
Deco_Mistape_Abstract::report_stats()
A
43 14 45
Deco_Mistape_Abstract::get_dialog_html()
A
37 10 87
Deco_Mistape_Reports_List_Table::column_actions()
A
40 10 63
Deco_Mistape::append_caption_to_content()
A
44 11 44
Deco_Mistape_Reports_List_Table::admin_notice_bulk_actions()
A
46 11 39
Deco_Mistape_Reports_List_Table::get_reports()
A
45 11 36
Deco_Mistape::wp_is_mobile()
A
52 11 24
Deco_Mistape_Reports_List_Table::get_views()
A
39 7 82
Deco_Mistape_Admin::field_email_recipient()
A
42 8 49
Deco_Mistape_Abstract::get_formatted_reported_text()
A
56 10 17
Deco_Mistape_Ajax::init()
A
55 9 16
Deco_Mistape_Ajax::validate_ip()
A
49 8 29
Deco_Mistape_Reports_List_Table::set_report_status()
A
49 8 28
Deco_Mistape::render_shortcode()
A
49 8 27
Deco_Mistape_Ajax::ajax_process_report()
S
46 6 41
Deco_Mistape_Reports_List_Table::delete_report()
S
51 7 25
Deco_Mistape_Reports_List_Table::get_report_counts()
S
47 6 34
Deco_Mistape_Ajax::is_report_unique()
S
54 7 19
Deco_Mistape_Reports_List_Table::column_post_title()
S
44 5 48
Deco_Mistape_Admin::print_help_page()
S
40 1 104
Deco_Mistape::is_appropriate_post()
S
60 7 12
Deco_Mistape_Ajax::get_recipient_email()
S
60 7 12
Deco_Mistape_Ajax::get_email_body()
S
52 6 21
Deco_Mistape_Reports_List_Table::get_bulk_actions()
S
54 6 20
Deco_Mistape_Ajax::get_db_data()
S
55 6 18
Deco_Mistape_Reports_List_Table::column_reporter_IP()
S
51 5 26
Deco_Mistape_Admin::activation()
S
52 5 25
Deco_Mistape_Table_Addon::get_report_counts_by_users()
S
52 5 23
Deco_Mistape_Admin::deactivate_addons()
S
54 5 20
Deco_Mistape_Abstract::icons_in_content()
S
55 5 18
Deco_Mistape_Admin::__construct()
S
55 5 17
Deco_Mistape_Admin::plugin_activated_notice()
S
56 5 17
Deco_Mistape_Ajax::get_edit_post_link()
S
56 5 17
Deco_Mistape_Abstract::version_upgrade()
S
59 5 13
Deco_Mistape_Table_Addon::get_user_pending_reports_count()
S
60 5 13
Deco_Mistape_Table_Addon::show_pending_number()
S
60 5 12
Deco_Mistape_Reports_List_Table::column_status()
S
61 5 12
Deco_Mistape_Reports_List_Table::get_ip_list_by_reports_id()
S
54 4 20
Deco_Mistape_Reports_List_Table::prepare_items()
S
56 4 17
Deco_Mistape_Admin::field_caption_format()
S
57 4 15
Deco_Mistape_Admin::field_caption_text_mode_for_mobile()
S
57 4 14
Deco_Mistape_Admin::field_caption_text_mode()
S
57 4 14
Deco_Mistape_Admin::register_settings()
S
50 3 28
Deco_Mistape_Abstract::get_caption_text()
S
62 4 11
Deco_Mistape_Abstract::get_caption_text_for_mobile()
S
62 4 11
Deco_Mistape_Abstract::create_db()
S
50 2 37
Deco_Mistape_Admin::field_show_logo_in_caption()
S
46 1 48
Deco_Mistape_Admin::init()
S
50 2 31
Deco_Mistape_Reports_List_Table::column_comment()
S
58 3 16
deco_mistape_init()
S
64 4 10
Deco_Mistape_Table_Addon::init()
S
64 4 9
Deco_Mistape_Ajax::get_ip_address()
S
63 4 10
Deco_Mistape::__construct()
S
58 3 14
Deco_Mistape_Admin::plugins_page_settings_link()
S
61 3 12
Deco_Mistape_Reports_List_Table::add_js_script_to_clear_query_string()
S
64 1 37
Deco_Mistape::front_load_scripts_styles()
S
70 3 6
Deco_Mistape::insert_dialog()
S
67 3 7
Deco_Mistape_Abstract::is_ip_in_banlist()
S
67 3 8
Deco_Mistape_Ajax::maybe_instantiate()
S
72 3 5
Deco_Mistape_Admin::admin_load_scripts_styles()
S
60 2 13
Deco_Mistape_Table_Addon::admin_bar()
S
60 2 13
Deco_Mistape_Reports_List_Table::query_string_maintenance()
S
61 2 13
Deco_Mistape_Admin::field_post_types()
S
60 2 13
Deco_Mistape_Admin::field_dialog_mode()
S
60 2 12
Deco_Mistape_Abstract::__construct()
S
62 2 11
Deco_Mistape_Admin::get_post_types_list()
S
63 2 11
Deco_Mistape_Table_Addon::print_reports_table()
S
57 1 22
Deco_Mistape_Ajax::ajax_update_admin_dialog()
S
64 2 10
Deco_Mistape_Table_Addon::update_counts_transient()
S
69 2 7
Deco_Mistape_Reports_List_Table::get_last_action_result()
S
65 2 9
Deco_Mistape::get_instance()
S
72 2 6
Deco_Mistape_Abstract::get_ip_banlist()
S
71 2 6
Deco_Mistape_Reports_List_Table::get_columns()
S
58 1 15
Deco_Mistape_Admin::get_instance()
S
72 2 6
Deco_Mistape_Admin::plugin_row_meta()
S
69 2 6
Deco_Mistape_Admin::field_show_color_scheme()
S
64 2 10
Deco_Mistape_Ajax::get_reported_text()
S
67 2 7
Deco_Mistape_Reports_List_Table::column_reporter_user_id()
S
64 2 9
Deco_Mistape_Abstract::get_default_caption_text()
S
71 2 6
Deco_Mistape_Reports_List_Table::column_post_author()
S
66 2 8
Deco_Mistape::is_appropriate_useragent()
S
71 2 6
Deco_Mistape_Reports_List_Table::column_reported_text()
S
70 2 6
Deco_Mistape_Abstract::get_options()
S
71 2 5
Deco_Mistape_Admin::admin_menu()
S
70 2 6
Deco_Mistape_Table_Addon::load_admin_page_style()
S
70 2 6
Deco_Mistape_Abstract::get_default_caption_text_for_mobile()
S
71 2 6
Deco_Mistape_Reports_List_Table::column_date()
S
69 2 6
Deco_Mistape_Table_Addon::load_reports_table_view()
S
59 1 14
Deco_Mistape_Table_Addon::register_admin_menu()
S
59 1 14
Deco_Mistape::custom_styles()
S
62 1 13
Deco_Mistape_Reports_List_Table::__construct()
S
60 1 13
Deco_Mistape_Abstract::statistics()
S
59 1 13
Deco_Mistape_Admin::get_user_list_by_role()
S
63 1 12
Deco_Mistape_Table_Addon::__construct()
S
60 1 11
Deco_Mistape_Admin::field_register_shortcode()
S
62 1 11
Deco_Mistape_Reports_List_Table::no_items()
S
80 1 3
Deco_Mistape_Table_Addon::output_styles()
S
76 1 10
Deco_Mistape_Admin::field_multisite_inheritance()
S
65 1 9
Deco_Mistape_Ajax::send_email()
S
67 1 7
Deco_Mistape_Reports_List_Table::get_sortable_columns()
S
73 1 5
Deco_Mistape_Table_Addon::set_screen()
S
81 1 3
Deco_Mistape_Admin::insert_dialog()
S
71 1 6
Deco_Mistape_Table_Addon::print_styles()
S
78 1 3
Deco_Mistape_Ajax::record_report()
S
70 1 6
Deco_Mistape_Reports_List_Table::unban_ip_by_reports_id()
S
67 1 7
Deco_Mistape_Table_Addon::get_main_instance()
S
80 1 3
Deco_Mistape_Abstract::load_filters()
S
78 1 3
Deco_Mistape_Abstract::load_textdomain()
S
77 1 3
Deco_Mistape_Reports_List_Table::get_hidden_columns()
S
68 1 7
Deco_Mistape_Admin::field_powered_by()
S
67 1 7
Deco_Mistape_Reports_List_Table::ban_ip_by_reports_id()
S
67 1 7
Deco_Mistape_Reports_List_Table::column_cb()
S
74 1 5
Deco_Mistape_Ajax::__construct()
S
68 1 7
Deco_Mistape_Table_Addon::load_scripts_styles()
S
63 1 10
Deco_Mistape_Admin::uninstall_cleanup()
S
67 1 8
Deco_Mistape_Table_Addon::get_instance()
S
80 1 3
Deco_Mistape_Admin::section_configuration()
S
91 1 2
Deco_Mistape_Table_Addon::output_thickbox()
S
77 1 4
Deco_Mistape_Abstract::enqueue_dialog_assets()
S
63 1 10