Code Analysis: SQL Buddy 1.0.0

Function Rating Maintainability Complexity Lines of code
SQL_Buddy\REST_API\Table_Controller::prepare_where_sql_query()
B
42 16 50
SQL_Buddy\REST_API\Table_Controller::register_routes()
A
34 1 136
SQL_Buddy\REST_API\Table_Controller::prepare_orderby_sql_query()
S
56 6 16
SQL_Buddy\DB::get_columns()
S
59 4 14
SQL_Buddy\DB::get_overview()
S
54 3 25
SQL_Buddy\DB::get_sizes()
S
55 3 22
SQL_Buddy\DB::get_schema()
S
56 3 20
SQL_Buddy\User_Preferences::prepare_hidden_columns_for_js()
S
63 3 11
SQL_Buddy\User_Preferences::set_hidden_columns()
S
65 3 9
SQL_Buddy\Dashboard::enqueue_assets()
S
63 2 12
SQL_Buddy\Dashboard::get_dashboard_settings()
S
53 1 23
_print_missing_build_admin_notice()
S
57 1 22
SQL_Buddy\REST_API\Table_Controller::get_table_records()
S
55 1 19
SQL_Buddy\Dashboard::load_dashboard()
S
60 1 16
SQL_Buddy\User_Preferences::__construct()
S
72 2 6
SQL_Buddy\User_Preferences::get_all_hidden_columns()
S
68 2 7
activate()
S
65 2 9
deactivate()
S
71 2 6
SQL_Buddy\User_Preferences::register()
S
62 1 13
SQL_Buddy\REST_API\Table_Controller::set_hidden_columns()
S
67 1 7
SQL_Buddy\Plugin::register()
S
68 1 7
SQL_Buddy\Plugin::register_rest_routes()
S
76 1 4
SQL_Buddy\REST_API\Server::register_route()
S
79 1 3
SQL_Buddy\REST_API\Table_Controller::__construct()
S
71 1 6
SQL_Buddy\REST_API\Table_Controller::get_rest_base()
S
79 1 3
SQL_Buddy\DB::update_record()
S
79 1 3
SQL_Buddy\REST_API\Server::__construct()
S
81 1 3
SQL_Buddy\REST_API\Table_Controller::delete_record()
S
71 1 5
SQL_Buddy\DB::delete_record()
S
78 1 3
SQL_Buddy\REST_API\Table_Controller::update_record()
S
71 1 5
SQL_Buddy\DB::get_tables()
S
76 1 4
SQL_Buddy\User_Preferences::can_edit_current_user()
S
79 1 3
SQL_Buddy\Dashboard::init()
S
72 1 5
SQL_Buddy\DB::get_table_records()
S
76 1 3
SQL_Buddy\DB::__construct()
S
77 1 4
SQL_Buddy\User_Preferences::get_hidden_columns()
S
75 1 4
SQL_Buddy\Dashboard::render()
S
80 1 3
SQL_Buddy\Dashboard::add_menu_page()
S
65 1 10
SQL_Buddy\DB::get_page_size()
S
79 1 3
SQL_Buddy\DB::get_pages_in_table()
S
68 1 6