Code Analysis: Solr Power 2.5.3

Function Rating Maintainability Complexity Lines of code
s4wp_search_results()
D
21
40 206
SolrPower_WP_Query::date_query()
D
32 38 95
SolrPower_WP_Query::parse_meta_query()
D
29
33 134
SolrPower_Api::master_query()
D
29
30 123
SolrPower_Sync::build_document()
D
26
28 148
SolrPower_WP_Query::parse_tax_query()
C
32 29 105
SolrPower_WP_Query::parse_date_query()
C
40 26 52
SolrPower_WP_Query::parse_orderby()
B
37 20 75
SolrPower_Sync::load_all_posts()
B
31 17 119
SolrPower_Facet_Widget::fetch_facets()
B
36 17 79
SolrPower_WP_Query::posts_request()
B
36 17 75
SolrPower_WP_Query::build_query()
B
40 18 56
SolrPower_Options::check_for_actions()
B
42 16 51
SolrPower_WP_Query::parse_results()
A
44 13 45
SolrPower_Options::render_field()
A
44 13 44
SolrPower_CLI::index()
A
43 10 46
SolrPower::ajax_search()
A
41 9 57
SolrPower_Api::submit_schema()
A
43 8 47
SolrPower_Options::options_load()
A
46 8 38
SolrPower_WP_Query::meta_type()
A
54 9 22
SolrPower_WP_Query::parse_facets()
A
50 8 26
SolrPower_Sync::load_blog_all()
A
51 8 25
SolrPower_WP_Query::setup()
A
56 8 18
SolrPower_Api::get_solr()
A
48 7 32
SolrPower_Sync::post()
A
49 7 31
SolrPower_Sync::handle_modified()
S
52 7 24
SolrPower_Facet_Widget::show_facet()
S
54 7 22
SolrPower_Batch_Index::clear_object_cache()
S
54 7 20
SolrPower_Options::action_wpmuadminedit()
S
51 6 25
SolrPower_WP_Query::tax_field_name()
S
53 6 24
SolrPower::template_redirect()
S
52 6 23
SolrPower_CLI::delete()
S
53 6 22
SolrPower::activate()
S
54 6 20
SolrPower_Batch_Index::__construct()
S
47 5 34
SolrPower_WP_Query::compare_date()
S
56 6 19
SolrPower_Batch_Index::index_post()
S
48 5 33
s4wp_search_form()
S
49 5 27
SolrPower::admin_head()
S
50 5 25
SolrPower_Sync::delete_all()
S
53 5 23
SolrPower_WP_Query::set_query_value()
S
57 5 19
SolrPower_Api::check_for_schema()
S
56 5 18
SolrPower_WP_Query::posts_pre_query()
S
57 5 18
s4wp_print_facet_items()
S
58 5 14
s4wp_get_output_taxo()
S
53 4 22
SolrPower::autocomplete()
S
54 4 21
SolrPower_Debug::render()
S
55 4 20
SolrPower::add_scripts()
S
55 4 19
SolrPower_Sync::delete()
S
57 4 17
SolrPower::environment_check()
S
57 4 17
SolrPower_Api::get_default_scheme()
S
66 5 7
SolrPower_Sync::delete_blog()
S
59 4 15
SolrPower_Options::render_value()
S
61 4 14
SolrPower_Options::filter_str2list_numeric()
S
62 4 12
s4wp_gen_taxo_array()
S
62 4 11
solr_power_env_variables_admin_notice()
S
54 3 24
SolrPower_Api::fetch_stat()
S
54 3 20
SolrPower_Sync::__construct()
S
55 3 20
SolrPower_Options::sanitise_options()
S
49 2 32
SolrPower_Api::ping_server()
S
58 3 16
SolrPower_Facet_Widget::reset_url()
S
59 3 16
SolrPower_Api::compute_path()
S
66 4 9
SolrPower_Api::index_stats()
S
60 3 13
SolrPower_Api::optimize()
S
62 3 12
solr_power_php_admin_notice()
S
55 2 26
SolrPower_Options::results_section()
S
51 1 34
SolrPower::__construct()
S
55 2 19
SolrPower_Options::filter_list2str()
S
65 3 10
SolrPower_WP_Query::found_posts()
S
70 3 6
SolrPower_Sync::should_commit()
S
71 3 6
SolrPower_CLI::repost_schema()
S
66 3 8
SolrPower_Api::dismax_query()
S
68 3 7
SolrPower_WP_Query::found_posts_query()
S
70 3 6
SolrPower_Sync::is_private_blog()
S
73 3 4
SolrPower_Api::get_cert_path()
S
67 3 7
SolrPower_Sync::handle_status_change()
S
65 3 10
SolrPower_Facet_Widget::widget()
S
58 2 15
SolrPower_Api::__get()
S
67 3 9
SolrPower::plugin_settings_link()
S
63 3 9
SolrPower_Options::filter_str2list()
S
65 3 9
SolrPower_Options::initalize_options()
S
50 1 30
SolrPower_Options::check_nonce()
S
64 3 9
SolrPower_Sync::copy_config_to_all_blogs()
S
60 2 13
SolrPower_Sync::handle_delete()
S
62 2 11
SolrPower_Batch_Index::fetch_next_posts()
S
63 2 11
SolrPower_Options::facet_section()
S
55 1 19
SolrPower_Options::add_field()
S
57 1 19
SolrPower_Options::indexing_section()
S
57 1 17
SolrPower::default_head()
S
72 2 5
SolrPower_Facet_Widget::update()
S
71 2 5
SolrPower_Options::get_instance()
S
71 2 6
SolrPower_Options::__construct()
S
66 2 8
SolrPower_CLI::check_server_settings()
S
65 2 9
PantheonCurl::createHandle()
S
64 2 9
SolrPower_Facet_Widget::form()
S
63 2 10
SolrPower_WP_Query::is_solr_query()
S
79 2 3
SolrPower_CLI::info()
S
68 2 6
SolrPower_Facet_Widget::render_searchbox()
S
66 2 7
SolrPower_Options::options_page()
S
69 2 7
SolrPower_Sync::handle_activate_blog()
S
76 2 4
SolrPower_Api::__set()
S
74 2 5
SolrPower_Options::update_option()
S
66 2 9
SolrPower_Options::get_option()
S
68 2 8
SolrPower::autosuggest_head()
S
69 2 6
SolrPower_WP_Query::pre_get_posts()
S
71 2 6
SolrPower_Facet_Widget::dummy_query()
S
67 2 8
SolrPower_WP_Query::the_posts()
S
69 2 7
SolrPower_WP_Query::get_instance()
S
68 2 7
SolrPower_Api::get_instance()
S
71 2 6
SolrPower_Sync::get_instance()
S
71 2 6
SolrPower::get_instance()
S
71 2 6
SolrPower_Options::add_pages()
S
63 1 13
SolrPower_Sync::format_date()
S
73 1 5
SolrPower_Batch_Index::get_remaining_posts()
S
82 1 3
SolrPower_Batch_Index::get_success_posts()
S
82 1 3
SolrPower_CLI::commit()
S
76 1 4
solr_options()
S
82 1 3
SolrPower_Debug::init()
S
82 1 3
SolrPower_Batch_Index::increment_page()
S
72 1 5
SolrPower_Batch_Index::get_total_posts()
S
82 1 3
SolrPower_Debug::prerender()
S
76 1 4
SolrPower_Facet_Widget::__construct()
S
69 1 7
SolrPower_CLI::stats()
S
72 1 5
SolrPower_Api::__construct()
S
79 1 3
SolrPower_Facet_Widget::htmlspecialchars_decode()
S
80 1 3
SolrPower_Batch_Index::get_failed_posts()
S
82 1 3
SolrPower_Batch_Index::get_total_batches()
S
82 1 3
SolrPower::get_post_types()
S
66 1 10
SolrPower_WP_Query::reset_vars()
S
77 1 4
SolrPower_WP_Query::__construct()
S
100 1 2
solr_facet_search()
S
64 1 9
SolrPower_CLI::optimize_index()
S
77 1 4
SolrPower_Api::get_server_info()
S
65 1 9
SolrPower_Batch_Index::get_current_batch()
S
80 1 3
SolrPower_CLI::format_log_timestamp()
S
67 1 7
SolrPower_Batch_Index::have_posts()
S
80 1 3
SolrPower_Options::settings_api()
S
69 1 7
SolrPower::get_post_statuses()
S
79 1 3
get_solr()
S
82 1 3
solr_power__deactivate()
S
81 1 3
SolrPower::add_panel()
S
72 1 5
SolrPower_Api::add_log()
S
80 1 3
SolrPower_Api::query()
S
71 1 5