Trending/Popular Post Slider and Widget 1.5.1

Does "Trending/Popular Post Slider and Widget" work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP notices
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 81.95 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/wp-trending-post-slider-and-widget/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Trending Post ‹ Test site — WordPress

Page screenshot: Trending Post ‹ Test site — WordPress
URL /wp-admin/admin.php?page=wp-trending-post-slider-and-widget
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-trending-post-slider-and-widget%2Fwp-trending-post-slider-widget.php&plugin_status=all&paged=1&s&_wpnonce=f09c1fbed3
Aspect after-activation
HTTP status 200
Load time 0.458 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Trending Post

Page screenshot: Trending Post
URL /wp-admin/admin.php?page=wp-trending-post-slider-and-widget
Aspect menu-item
HTTP status 200
Load time 0.157 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.229 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.444 s
Memory usage 4.55 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.308 s0.258 s-0.050 s3.08 MiB3.17 MiB+ 84.89 KiB
/wp-admin/edit.php0.182 s0.189 s+0.007 s3.11 MiB3.26 MiB+ 149.54 KiB
/wp-admin/post-new.php1.457 s1.077 s-0.380 s5.27 MiB5.35 MiB+ 90.29 KiB
/wp-admin/upload.php0.390 s0.313 s-0.077 s3.03 MiB3.1 MiB+ 75.3 KiB
/wp-admin/options-writing.php0.147 s0.150 s+0.003 s3.02 MiB3.08 MiB+ 58.66 KiB
/wp-admin/media-new.php0.238 s0.191 s-0.047 s3.01 MiB3.08 MiB+ 75.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.167 s0.311 s+0.144 s3.04 MiB3.11 MiB+ 77.01 KiB
/wp-admin/post-new.php?post_type=page0.811 s0.723 s-0.088 s5.26 MiB5.34 MiB+ 85.88 KiB
/wp-admin/options-discussion.php0.283 s0.336 s+0.053 s3 MiB3.08 MiB+ 75.16 KiB
/wp-admin/edit-comments.php0.205 s0.222 s+0.017 s3.04 MiB3.12 MiB+ 75.33 KiB
/0.266 s0.231 s-0.035 s2.91 MiB2.96 MiB+ 53.92 KiB
Average 0.405 s0.364 s-0.041 s3.43 MiB3.51 MiB+ 81.95 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
Language % Lines of code Comment lines Files
PHP80.2%3,0321,03630
JavaScript9.3%350466
CSS5.7%21686
PO File4.8%181821
JSON0.1%202
Total 3,781 1,172 45

PHP Code Analysis | More results »

Lines of code 2,076
Total complexity 504
Median class complexity 10.0
Median method complexity 2.0
Most complex class Wpos_Anylc_Admin
Most complex function wtpsw_popular_post_carousel()
Classes 11
Methods 53
Functions 43

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 5

Sidebar Widgets 1

ID Name
wtpsw-post-list-widgetWPOS - Trending Posts

PHP Error Log 5 lines

[21-Jul-2021 22:37:28 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 22:37:28 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 22:37:31 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 22:37:31 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 22:37:34 UTC] PHP Notice:  wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5535
See also: All tests for this plugin, How to Hide the "Trending Post" Admin Menu