Code Analysis: WordPress Native PHP Sessions 1.4.3

Function Rating Maintainability Complexity Lines of code
Pantheon_Sessions::add_single_index()
A
38 12 70
Pantheon_Sessions::set_ini_values()
A
46 11 35
Pantheon_Sessions::check_native_primary_keys()
S
45 6 43
Pantheon_Sessions\Session::get_client_ip_server()
S
48 6 34
Pantheon_Sessions\Admin::handle_page()
S
48 6 30
Pantheon_Sessions::get_all_sites()
S
53 6 22
Pantheon_Sessions\CLI_Command::delete()
S
54 6 21
Pantheon_Sessions::load()
S
55 6 19
Pantheon_Sessions::add_index()
S
50 5 29
Pantheon_Sessions\Session_Handler::read()
S
60 6 13
Pantheon_Sessions::primary_key_finalize_single()
S
52 5 23
Pantheon_Sessions\Admin::handle_clear_session()
S
57 5 15
Pantheon_Sessions\Session::restore_wpdb_if_null()
S
62 6 10
Pantheon_Sessions::primary_key_revert_single()
S
51 4 26
Pantheon_Sessions::primary_key_finalize()
S
52 4 23
Pantheon_Sessions::primary_key_revert()
S
52 4 23
Pantheon_Sessions\List_Table::column_default()
S
54 4 19
Pantheon_Sessions\Session::delete_cookies()
S
55 4 19
Pantheon_Sessions\Session::set_data()
S
54 3 21
Pantheon_Sessions::initialize_session_override()
S
55 3 20
Pantheon_Sessions\CLI_Command::list_()
S
57 3 16
Pantheon_Sessions::safe_output()
S
63 4 10
Pantheon_Sessions::require_files()
S
65 4 9
Pantheon_Sessions\Session::get_by_sid()
S
59 3 14
Pantheon_Sessions\Session::create_for_sid()
S
60 3 13
Pantheon_Sessions\Session_Handler::write()
S
62 3 12
Pantheon_Sessions::force_first_load()
S
61 3 12
Pantheon_Sessions::setup_database()
S
55 2 22
Pantheon_Sessions\List_Table::prepare_items()
S
55 2 18
Pantheon_Sessions::action_set_logged_in_cookie()
S
71 2 6
Pantheon_Sessions::action_clear_auth_cookie()
S
71 2 6
Pantheon_Sessions\Session_Handler::destroy()
S
68 2 8
Pantheon_Sessions\Admin::action_admin_footer()
S
65 1 15
Pantheon_Sessions\CLI_Command::add_index()
S
71 2 5
Pantheon_Sessions\CLI_Command::primary_key_revert()
S
71 2 5
Pantheon_Sessions\Admin::get_instance()
S
69 2 7
Pantheon_Sessions::define_constants()
S
75 2 5
Pantheon_Sessions\CLI_Command::primary_key_finalize()
S
71 2 5
Pantheon_Sessions\Session::get_session_id_column()
S
70 2 7
Pantheon_Sessions::get_instance()
S
69 2 7
Pantheon_Sessions\Session::set_user_id()
S
62 1 12
Pantheon_Sessions\Admin::action_admin_menu()
S
76 1 3
Pantheon_Sessions\List_Table::no_items()
S
80 1 3
Pantheon_Sessions\Session::is_cli()
S
80 1 3
Pantheon_Sessions\Session::get_user_id()
S
81 1 3
Pantheon_Sessions\Admin::setup_actions()
S
75 1 4
Pantheon_Sessions\Session_Handler::close()
S
82 1 3
Pantheon_Sessions()
S
82 1 3
Pantheon_Sessions\List_Table::get_columns()
S
65 1 9
Pantheon_Sessions\Session::get_id()
S
82 1 3
Pantheon_Sessions\Session_Handler::gc()
S
69 1 6
Pantheon_Sessions\Session::get_data()
S
80 1 3
Pantheon_Sessions\Session::destroy()
S
68 1 7
Pantheon_Sessions\Session::__construct()
S
74 1 5
Pantheon_Sessions::enqueue_scripts()
S
77 1 3
Pantheon_Sessions::dismiss_notice()
S
75 1 4
Pantheon_Sessions\Session_Handler::open()
S
82 1 3