Code Analysis: WP SendGrid Mailer 1.4

Function Rating Maintainability Complexity Lines of code
WP_List_Table::pagination()
B
33 17 97
WP_List_Table::print_column_headers()
B
39 19 53
WP_List_Table::months_dropdown()
A
44 11 43
WPMailPlus\Integrations\SendGridService::send_mail()
A
43 10 43
Logs::column_default()
A
51 10 30
WP_List_Table::comments_bubble()
A
47 8 36
WP_List_Table::single_row_columns()
A
47 7 37
WP_List_Table::set_pagination_args()
S
58 8 14
WP_List_Table::get_column_info()
S
51 7 25
WP_List_Table::search_box()
S
54 7 20
Logs::prepare_where_condition()
S
55 7 19
BaseController::processData()
S
54 6 19
BaseController::prepare_from_email()
S
66 7 8
WP_List_Table::current_action()
S
64 7 9
WP_List_Table::bulk_actions()
S
52 5 22
Logs::table_data()
S
56 5 16
WP_List_Table::row_actions()
S
57 5 15
WP_List_Table::__construct()
S
52 4 24
WP_List_Table::ajax_response()
S
54 4 22
MSP_WPMailPlus::load_scripts()
S
56 4 17
WP_List_Table::get_default_primary_column_name()
S
59 4 15
WP_List_Table::get_primary_column_name()
S
61 4 12
BaseController::__construct()
S
63 4 11
MSP_WPMailPlus::mailer_failed()
S
52 3 22
WP_List_Table::view_switcher()
S
55 3 20
WP_List_Table::display_tablenav()
S
57 3 19
WP_List_Table::get_pagenum()
S
68 4 6
WP_List_Table::display()
S
53 2 29
WP_List_Table::views()
S
59 3 13
MSP_WPMailPlus::wp_mail_from_mail()
S
69 3 6
WP_List_Table::get_items_per_page()
S
69 3 6
WP_List_Table::get_pagination_arg()
S
68 3 8
MSP_WPMailPlus::wp_mail_from_name()
S
69 3 6
MSP_WPMailPlus::mailer_init()
S
59 2 14
MSP_WPMailPlus::initHooks()
S
61 2 12
MSP_WPMailPlus::activate()
S
56 1 21
plugin_activate()
S
56 1 21
BaseController::addLog()
S
58 1 16
Logs::prepare_items()
S
57 1 16
WP_List_Table::display_rows()
S
76 2 4
MSP_WPMailPlus::wp_mailplus_clear_logs()
S
66 2 8
WP_List_Table::__set()
S
73 2 5
wp_mail()
S
67 2 7
WP_List_Table::handle_row_actions()
S
77 2 3
WP_List_Table::__get()
S
73 2 5
WP_List_Table::__isset()
S
73 2 5
WP_List_Table::__call()
S
70 2 6
WP_List_Table::__unset()
S
73 2 5
WP_List_Table::display_rows_or_placeholder()
S
66 2 9
Logs::get_columns()
S
62 1 12
Settings::process()
S
66 1 8
Logs::get_hidden_columns()
S
81 1 3
WP_List_Table::get_bulk_actions()
S
82 1 3
WP_List_Table::get_table_classes()
S
78 1 3
WP_List_Table::get_primary_column()
S
81 1 3
Logs::column_id()
S
82 1 3
WPMailPlus\Integrations\SendGridService::prepareAttachment()
S
64 1 9
MSP_WPMailPlus::deactivate()
S
67 1 8
BaseController::output()
S
67 1 8
WP_List_Table::prepare_items()
S
81 1 3
WP_List_Table::get_sortable_columns()
S
82 1 3
WP_List_Table::get_column_count()
S
71 1 5
WP_List_Table::has_items()
S
80 1 3
Logs::get_sortable_columns()
S
79 1 3
MSP_WPMailPlus::__construct()
S
74 1 5
WP_List_Table::ajax_user_can()
S
81 1 3
Logs::process()
S
79 1 3
WP_List_Table::_js_vars()
S
64 1 10
WP_List_Table::no_items()
S
81 1 3
MSP_WPMailPlus::defineConstants()
S
79 1 5
WP_List_Table::get_columns()
S
81 1 3
WP_List_Table::single_row()
S
74 1 5
MSP_WPMailPlus::build_menu()
S
70 1 5
myplugin_deactivate()
S
67 1 8
WPMailPlus\Integrations\SendGridService::get_token()
S
75 1 4
WP_List_Table::get_views()
S
82 1 3