Trending/Popular Post Slider and Widget 1.5.2

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

Summary

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

Memory usage: 77.64 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.1
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=7a0c747bcf
Aspect after-activation
HTTP status 200
Load time 0.900 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.146 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.244 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.935 s
Memory usage 4.56 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.293 s0.251 s-0.042 s3.08 MiB3.17 MiB+ 84.91 KiB
/wp-admin/edit.php0.185 s0.211 s+0.026 s3.11 MiB3.26 MiB+ 149.56 KiB
/wp-admin/post-new.php1.653 s1.207 s-0.446 s5.27 MiB5.36 MiB+ 90.31 KiB
/wp-admin/upload.php0.524 s0.292 s-0.232 s3.03 MiB3.1 MiB+ 75.33 KiB
/wp-admin/options-writing.php0.158 s0.137 s-0.021 s3.02 MiB3.08 MiB+ 58.68 KiB
/wp-admin/media-new.php0.231 s0.175 s-0.056 s3.01 MiB3.08 MiB+ 75.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.170 s0.183 s+0.013 s3.04 MiB3.11 MiB+ 77.03 KiB
/wp-admin/post-new.php?post_type=page0.747 s0.886 s+0.139 s5.26 MiB5.34 MiB+ 85.9 KiB
/wp-admin/options-discussion.php0.277 s0.264 s-0.013 s3 MiB3.08 MiB+ 75.19 KiB
/wp-admin/edit-comments.php0.206 s0.202 s-0.004 s3.04 MiB3.12 MiB+ 75.35 KiB
/0.337 s0.277 s-0.060 s2.96 MiB2.96 MiB+ 6.28 KiB
Average 0.435 s0.371 s-0.063 s3.44 MiB3.51 MiB+ 77.64 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,0351,03630
JavaScript9.2%350466
CSS5.7%21686
PO File4.8%182821
JSON0.1%202
Total 3,785 1,172 45

PHP Code Analysis | More results »

Lines of code 2,079
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 1 lines

[10-Sep-2021 08:18:47 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 5663
See also: All tests for this plugin, How to Hide the "Trending Post" Admin Menu