Code Analysis: Yet Another Related Posts Plugin (YARPP) 5.18.2

Function Rating Maintainability Complexity Lines of code
YARPP_Cache::sql()
D
29
29 123
YARPP::display_related()
C
32 22 102
YARPP_Cache::extract_keywords()
B
37 21 64
YARPP::upgrade()
B
52 22 19
YARPP::optin_data()
B
33 13 98
YARPP_Meta_Box_Display_Web::display()
A
36 11 72
YARPP::display_pro()
A
53 13 18
YARPP::upgrade_3_4_4b2()
A
47 11 35
YARPP_Cache_Postmeta::related()
A
49 11 30
YARPP_Meta_Box_Relatedness::disabled_warning()
A
39 7 84
YARPP::display_demo_related()
A
43 9 50
shareaholic_deactivate_feedback()
A
44 9 48
YARPP::__construct()
A
43 9 42
YARPP_Meta_Box_Display_Feed::display()
A
40 8 55
YARPP_Admin::optin_notice()
A
46 9 38
YARPP::parse_args()
A
47 9 38
YARPP::display_basic()
A
56 10 17
YARPP::upgrade_3_4b2()
A
37 6 75
YARPP_Cache_Bypass::related()
A
51 9 26
YARPP_Rest_Api::get_related_posts()
A
41 7 56
YARPP_Admin::ui_register()
A
51 9 23
YARPP_Admin::enqueue()
A
46 8 32
YARPP::ensure_resized_post_thumbnail()
A
56 9 16
YARPP_Meta_Box::template_checkbox()
A
59 9 12
YARPP::set_option()
A
52 8 24
YARPP_Admin::deactivation_survey_data()
A
39 5 68
YARPP_Admin::check_plugin_review()
A
52 8 22
YARPP_Cache_Tables::upgrade()
A
54 8 20
YARPP_Cache_Tables::update()
A
48 7 35
YARPP_Cache_Tables::related()
A
49 7 34
YARPP_Admin::ajax_switch()
A
48 7 33
YARPP::version_info()
S
59 8 11
YARPP_Cache::enforce()
S
61 8 11
YARPP_Admin::__construct()
S
52 7 21
YARPP::maybe_enqueue_thumbnails_stylesheet()
S
64 8 8
YARPP_Meta_Box::displayorder()
S
57 7 15
YARPP_Cache_Postmeta::update()
S
51 6 29
yarpp_get_image_sizes()
S
51 6 26
YARPP_Cache::transition_post_status()
S
62 7 11
YARPP::setup_active_cache()
S
53 6 22
YARPP_Widget::form()
S
53 6 20
YARPP::get_related()
S
48 5 34
YARPP_Admin::metabox()
S
48 5 34
YARPP::related_exist()
S
49 5 32
YARPP_Admin::check_review_dismissal()
S
57 6 16
yarpp_get_option_thumbnail()
S
58 6 16
YARPP_Admin::yarpp_save_meta_box()
S
58 6 15
YARPP::optin_ping()
S
58 6 14
YARPP::upgrade_3_4b8()
S
54 5 23
YARPP_Cache_Tables::is_cached()
S
53 5 23
YARPP_Rest_Api::get_item_permissions_check()
S
55 5 19
YARPP_Widget::widget()
S
55 5 19
YARPP_Admin::ajax_display()
S
57 5 15
YARPP::get_option()
S
58 5 15
YARPP::post_type_filter()
S
60 5 14
YARPP::get_query_post_types()
S
59 5 14
YARPP_Shortcode::render()
S
51 4 28
YARPP_Cache_Postmeta::get_keywords()
S
61 5 12
YARPP::upgrade_3_5_2b2()
S
62 5 11
YARPP::the_content()
S
62 5 11
YARPP_Meta_Box_Pool::exclude()
S
52 4 24
YARPP_Admin::ajax_display_exclude_terms()
S
52 4 24
YARPP_Admin::the_optin_button()
S
55 4 20
YARPP::load_default_options()
S
40 1 63
YARPP::thumbnail_dimensions()
S
58 4 16
YARPP_Admin::options_page()
S
64 5 8
YARPP_Meta_Box::weight()
S
60 5 10
YARPP::diagnostic_using_thumbnails()
S
69 5 6
related_posts()
S
59 4 14
related_pages()
S
59 4 14
YARPP_Cache_Tables::get_keywords()
S
59 4 14
YARPP_DB_Schema::database_supports_fulltext_indexes()
S
59 4 14
YARPP::enable_fulltext()
S
62 4 13
YARPP_Cache::set_score_override_flag()
S
61 4 13
YARPP::activate()
S
61 4 13
YARPP_Cache::tax_criteria()
S
61 4 12
YARPP_Cache_Bypass::fields_filter()
S
61 4 11
YARPP_Cache_Postmeta::fields_filter()
S
61 4 11
yarpp_get_file_url_for_environment()
S
62 4 11
YARPP::set_transient()
S
61 4 11
YARPP_Admin::display_review_notice()
S
45 1 53
YARPP_Admin::settings_screen()
S
54 3 22
YARPP_DB_Schema::create_cache_table()
S
57 3 18
YARPP_Cache_Bypass::orderby_filter()
S
70 4 6
YARPP_Cache_Postmeta::orderby_filter()
S
70 4 6
YARPP::the_excerpt_rss()
S
69 4 5
YARPP::kick_other_caches()
S
67 4 8
YARPP_Cache::get_keywords()
S
63 4 10
YARPP_Admin::ajax_register()
S
59 3 13
YARPP_Widget::update()
S
60 3 13
YARPP_Meta_Box_Contact::display()
S
52 2 28
YARPP_DB_Schema::posts_table_database_engine()
S
60 3 13
YARPP_DB_Schema::cache_table_exists()
S
60 3 13
YARPP::enable_fulltext_titles()
S
63 3 12
YARPP::enable_fulltext_contents()
S
63 3 12
YARPP::diagnostic_hidden_metaboxes()
S
61 3 12
YARPP_Admin::help_faq()
S
61 3 12
YARPP_Cache_Postmeta::begin_yarpp_time()
S
60 3 12
YARPP_Admin::help_dev()
S
61 3 12
YARPP::diagnostic_myisam_posts()
S
64 3 11
YARPP_Admin::ajax_clear_cache()
S
63 3 11
YARPP::the_content_feed()
S
63 3 11
YARPP_Cache_Bypass::demo_request_filter()
S
49 1 40
YARPP_Rest_Api::register_api_routes()
S
55 2 21
YARPP_Admin::help_optin()
S
52 1 32
switchYarppPro()
S
58 2 16
YARPP::diagnostic_happy()
S
66 3 7
YARPP::get_templates()
S
66 3 8
YARPP::upgrade_3_4_4b3()
S
63 3 10
YARPP::get_post_types()
S
66 3 8
YARPP_Cache_Postmeta::upgrade()
S
70 3 6
YARPP::get_taxonomies()
S
66 3 8
related_entries()
S
62 3 10
YARPP_Cache_Postmeta::where_filter()
S
63 3 9
YARPP::taxonomy_filter()
S
71 3 5
YARPP::yarpp_disabled_for_this_post()
S
65 3 8
YARPP_Cache_Postmeta::is_cached()
S
66 3 8
YARPP_Cache_Postmeta::clear()
S
65 3 9
YARPP::do_not_query_for_related()
S
75 3 4
YARPP_Cache_Tables::where_filter()
S
62 3 10
YARPP_Cache_Tables::orderby_filter()
S
70 3 6
YARPP_Cache_Tables::limit_filter()
S
69 3 7
YARPP_Cache_Tables::clear()
S
63 3 9
YARPP_Admin::can_copy_templates()
S
65 3 8
YARPP_Rest_Api::cache_endpoints()
S
70 3 6
YARPP::enforce()
S
68 3 8
YARPP::array_flatten()
S
66 3 8
YARPP::db_supports_fulltext()
S
67 3 8
YARPP_Cache_Bypass::where_filter()
S
65 3 7
YARPP_Admin::optin_button_script()
S
61 2 13
YARPP::get_template_data()
S
60 2 13
YARPP_Meta_Box_Relatedness::display()
S
60 2 13
YARPP::restore_post_context()
S
62 2 12
YARPP_Admin::ajax_display_demo()
S
60 2 12
YARPP_Rest_Api::get_related_posts_args()
S
52 1 27
YARPP::get_pro_options()
S
62 2 12
YARPP_Cache::query_safely()
S
64 2 11
YARPP_Meta_Box_Optin::display()
S
53 1 26
YARPP_Cache::body_keywords()
S
62 2 11
YARPP_Cache_Bypass::begin_yarpp_time()
S
53 1 23
YARPP_Admin::markdown()
S
57 1 17
yarpp_make_optin_classy()
S
73 2 5
YARPP::get_transient()
S
66 2 8
YARPP_Admin::default_hidden_meta_boxes()
S
71 2 6
YARPP::upgrade_3_4_4b4()
S
66 2 8
YARPP::disable_fulltext()
S
64 2 9
related_posts_exist()
S
63 2 10
YARPP_Rest_Api::get_posts_controller()
S
71 2 6
YARPP::diagnostic_fulltext_indices()
S
79 2 3
YARPP_Admin::upgrade_notice()
S
75 2 4
YARPP::diagnostic_generate_thumbnails()
S
79 2 3
related_pages_exist()
S
63 2 10
YARPP_DB_Schema::content_column_has_index()
S
63 2 10
YARPP::upgrade_3_6b7()
S
69 2 6
YARPP_Admin::render_screen_settings()
S
63 2 10
YARPP_Admin::settings_link()
S
67 2 7
YARPP_Meta_Box::template_file()
S
71 2 5
YARPP_Cache_Tables::join_filter()
S
69 2 6
YARPP_Cache_Tables::fields_filter()
S
71 2 6
YARPP_Admin::the_donothing_button()
S
66 2 9
YARPP_Meta_Box::offer_copy_templates()
S
79 2 3
YARPP::enabled()
S
69 2 7
clean()
S
64 2 10
YARPP_DB_Schema::title_column_has_index()
S
63 2 10
YARPP::diagnostic_big_db()
S
65 2 9
yarpp_related()
S
67 2 8
yarpp_related_exist()
S
67 2 8
YARPP_Cache_Bypass::limit_filter()
S
75 2 4
YARPP_Rest_Api::maybe_set_caching_headers()
S
62 2 10
YARPP_Admin::copy_templates()
S
65 2 8
YARPP_Admin::get_term_ids_from_tt_ids()
S
67 2 7
YARPP_Cache::delete_post()
S
75 2 4
YARPP_Admin::install_notice()
S
74 2 4
YARPP_Cache_Postmeta::limit_filter()
S
73 2 5
YARPP_Cache::orderby_score()
S
61 1 14
YARPP_Cache_Tables::uncached()
S
61 1 14
YARPP_Cache_Postmeta::uncached()
S
61 1 14
YARPP::load_pro_default_options()
S
63 1 12
YARPP_Meta_Box_Display_Rest_Api::display()
S
60 1 12
YARPP_Cache_Postmeta::end_yarpp_time()
S
62 1 11
YARPP_Cache_Tables::graph_data()
S
64 1 11
YARPP_DB_Options::add_upgrade_flag()
S
79 1 3
YARPP_Cache::title_keywords()
S
77 1 3
YARPP_DB_Options::get_yarpp_options()
S
75 1 4
YARPP::recent_units()
S
68 1 7
YARPP_Cache_Tables::begin_yarpp_time()
S
63 1 10
YARPP_Cache_Postmeta::is_enabled()
S
82 1 3
YARPP::add_to_bbpress()
S
81 1 3
YARPP_Cache::is_yarpp_time()
S
82 1 3
YARPP::diagnostic_post_thumbnails()
S
79 1 3
the_score()
S
82 1 3
YARPP_DB_Schema::add_content_index()
S
66 1 8
YARPP_Admin::ajax_optin_disable()
S
67 1 8
YARPP_Cache::upgrade()
S
91 1 2
YARPP_Shortcode::register()
S
72 1 6
YARPP::diagnostic_fulltext_disabled()
S
82 1 3
YARPP_Cache_Tables::cache_status()
S
68 1 7
YARPP_Admin::ajax_optin_data()
S
67 1 8
YARPP_Cache_Bypass::cache_status()
S
82 1 3
YARPP_Cache::clear()
S
91 1 2
YARPP_DB_Options::get_fulltext_db_error()
S
78 1 3
YARPP::upgrade_3_4b5()
S
64 1 10
YARPP_DB_Options::after_activation()
S
79 1 3
YARPP_Cache::__construct()
S
75 1 4
YARPP_Cache_Postmeta::setup()
S
91 1 2
YARPP_Rest_Api::__construct()
S
74 1 4
yarpp_set_option()
S
76 1 4
YARPP_DB_Options::delete_upgrade_flag()
S
80 1 3
YARPP_Rest_Api::get_public_item_schema()
S
63 1 10
YARPP_Cache::discovering_keywords()
S
82 1 3
get_the_score()
S
73 1 5
YARPP_Cache_Tables::setup()
S
82 1 3
YARPP_Cache_Bypass::begin_demo_time()
S
69 1 6
YARPP_Admin::review_register()
S
78 1 4
YARPP_Cache_Bypass::end_demo_time()
S
71 1 5
YARPP_Cache_Bypass::is_enabled()
S
82 1 3
YARPP_Widget::__construct()
S
78 1 3
YARPP_Meta_Box::__construct()
S
65 1 10
yarpp_widget_init()
S
82 1 3
YARPP_DB_Options::set_yarpp_options()
S
79 1 3
YARPP_Meta_Box::textbox()
S
75 1 4
YARPP::diagnostic_custom_templates()
S
80 1 3
YARPP_DB_Options::is_fulltext_disabled()
S
79 1 3
YARPP_Cache_Bypass::update()
S
77 1 4
YARPP_Cache::is_cached()
S
82 1 3
YARPP::enqueue_thumbnails_stylesheet()
S
63 1 10
YARPP::upgrade_4_0_1()
S
81 1 3
YARPP::save_post_context()
S
71 1 6
YARPP_Cache_Tables::__construct()
S
81 1 3
YARPP_Cache_Bypass::uncached()
S
82 1 3
YARPP_Cache_Bypass::stats()
S
82 1 3
YARPP_Cache_Postmeta::flush()
S
77 1 4
YARPP_Cache_Tables::stats()
S
74 1 4
YARPP_DB_Options::delete_fulltext_db_error_record()
S
80 1 3
YARPP_Cache_Bypass::end_yarpp_time()
S
64 1 9
yarpp_get_related()
S
76 1 4
YARPP_Admin::ajax_optin_enable()
S
66 1 9
YARPP_Cache::add_signature()
S
82 1 3
YARPP::enqueue_thumbnails()
S
75 1 4
YARPP_DB_Options::after_upgrade()
S
80 1 3
YARPP_DB_Options::update_fulltext_db_record()
S
74 1 4
YARPP_Cache::flush()
S
91 1 2
YARPP_DB_Options::delete_activation_flag()
S
80 1 3
YARPP_Cache::setup()
S
91 1 2
YARPP_Cache_Tables::end_yarpp_time()
S
63 1 10
YARPP_Admin::get_templates()
S
81 1 3
YARPP_Cache_Postmeta::cache_keywords()
S
67 1 8
YARPP_Cache_Postmeta::cache_status()
S
68 1 7
YARPP::delete_transient()
S
77 1 4
YARPP_DB_Schema::add_title_index()
S
66 1 8
yarpp_plugin_activate()
S
80 1 3
YARPP_Cache_Bypass::__construct()
S
81 1 3
YARPP::clean_pre()
S
69 1 6
yarpp_get_thumbnail_image_dimensions()
S
67 1 8
YARPP_Cache_Tables::flush()
S
72 1 5
YARPP::prep_query()
S
71 1 6
YARPP_Cache_Postmeta::__construct()
S
81 1 3
yarpp_get_option()
S
77 1 4
YARPP_DB_Options::set_fulltext_disabled()
S
79 1 3
YARPP_Rest_Api::ignore_post_type_filter_callback()
S
73 1 5
YARPP::pretty_echo()
S
67 1 7
yarpp_init()
S
78 1 4
YARPP_Meta_Box::radio()
S
80 1 3
YARPP_Meta_Box::checkbox()
S
80 1 3
related_entries_exist()
S
69 1 6
YARPP_Cache_Tables::is_enabled()
S
81 1 3
YARPP_DB_Options::plugin_version_in_db()
S
80 1 3
YARPP_Meta_Box::tax_weight()
S
71 1 5
YARPP::upgrade_4_2()
S
72 1 5
YARPP_DB_Options::update_plugin_version_in_db()
S
79 1 3
YARPP_Meta_Box::beforeafter()
S
80 1 3
YARPP_Meta_Box_Pool::display()
S
68 1 8
YARPP_Cache_Postmeta::stats()
S
73 1 4
YARPP::maybe_enqueue_thumbnails()
S
75 1 4
YARPP_Admin::ajax_set_display_code()
S
66 1 8
YARPP_DB_Options::has_fulltext_db_error()
S
79 1 3