Code Analysis: WordPress Related Posts Thumbnails 3.0.2

Function Rating Maintainability Complexity Lines of code
RelatedPostsThumbnails::get_thumbnails()
D
1
115 418
RPT_WPB_SDK\Logger::get_logs_data()
C
35 27 67
RelatedPostsThumbnails::relpoststh_get_featured_category()
A
52 10 24
RelatedPostsThumbnails::__construct()
A
38 6 70
RelatedPostsThumbnails::is_relpoststh_show()
A
52 8 24
RelatedPostsThumbnails::display_categories_list()
S
52 7 25
RelatedPostsThumbnails::relpoststh_category_list()
S
52 5 24
RelatedPostsThumbnails::related_posts_shortcode()
S
53 5 22
RelatedPostsThumbnails::review_notice_message()
S
43 2 66
RelatedPostsThumbnails::review_prending()
S
67 6 6
RelatedPostsThumbnails::review_dismissal()
S
67 6 6
RelatedPostsThumbnails::prevent_on_editors()
S
59 5 14
RelatedPostsThumbnails::process_text_cut()
S
61 5 12
render_rpt_dynamic_block()
S
61 5 11
RelatedPostsThumbnails::review_notice()
S
58 4 16
RPT_WPB_SDK\Logger::ajax_deactivation()
S
61 4 12
RPT_WPB_SDK\Logger::deactivation_model()
S
61 4 11
RelatedPostsThumbnailsWidget::widget()
S
62 4 11
RelatedPostsThumbnails::admin_scripts()
S
54 3 22
RPT_WPB_SDK\Logger::get_ip()
S
58 3 17
RPT_WPB_SDK\Logger::log_deactivation()
S
58 3 16
RPT_WPB_SDK\Logger::get_multisites()
S
59 3 15
RPT_WPB_SDK\Logger::get_plugins()
S
59 3 15
RelatedPostsThumbnails::is_old_default_img()
S
67 3 8
RPT_WPB_SDK\Logger::log_plugin()
S
59 2 15
RPT_WPB_SDK\Logger::get_product_data()
S
63 3 10
RelatedPostsThumbnails::head_style()
S
55 1 25
RelatedPostsThumbnails::finish_process()
S
64 2 9
RelatedPostsThumbnails::instance()
S
72 2 6
RelatedPostsThumbnails::get_html()
S
72 2 6
RelatedPostsThumbnailsWidget::form()
S
69 2 6
RPT_WPB_SDK\Logger::set_logs_schedule()
S
71 2 5
register_rpt_dynamic_block()
S
68 2 8
RPT_WPB_SDK\Logger::log_activation()
S
61 1 13
RPT_WPB_SDK\Logger::log_uninstallation()
S
63 1 12
rpt_block_category()
S
65 1 11
RPT_WPB_SDK\Track::send()
S
64 1 11
RelatedPostsThumbnails::admin_interface()
S
81 1 3
RPT_WPB_SDK\Logger::product_deactivation()
S
78 1 3
related_posts_thumbnails_loader()
S
82 1 3
RelatedPostsThumbnailsWidget::update()
S
73 1 5
enqueue_block_editor_assets()
S
68 1 6
RPT_WPB_SDK\Logger::hooks()
S
63 1 9
RPT_WPB_SDK\Logger::__construct()
S
76 1 4
RelatedPostsThumbnails::admin_menu()
S
76 1 3
RelatedPostsThumbnails::auto_show()
S
80 1 3
register_wpb_rpt_widget()
S
82 1 3
RelatedPostsThumbnails::constant()
S
80 1 5
get_related_posts_thumbnails()
S
77 1 4
RPT_WPB_SDK\Track::__construct()
S
81 1 3
RelatedPostsThumbnailsWidget::__construct()
S
71 1 6
RelatedPostsThumbnails::front_scripts()
S
78 1 3