Random Featured Post 1.1.3

Does Random Featured Post work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: -1.81 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 version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/random-featured-post-plugin/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=random-featured-post-plugin%2Ffeaturedpost.php&plugin_status=all&paged=1&s&_wpnonce=8b2526e62f
Aspect after-activation
HTTP status 200
Load time 0.252 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Settings → Featured Post

Page screenshot: Settings → Featured Post
URL /wp-admin/options-general.php?page=random-featured-post-plugin%2Ffeaturedpost.php
Requested URL /wp-admin/options-general.php?page=random-featured-post-plugin/featuredpost.php
Aspect menu-item
HTTP status 200
Load time 0.151 s
Memory usage N/A
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.172 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.374 s0.313 s-0.061 s3.44 MiB3.44 MiB+ 4.95 KiB
/wp-admin/edit.php0.211 s0.193 s-0.018 s3.46 MiB3.47 MiB+ 4.95 KiB
/wp-admin/post-new.php0.933 s0.600 s-0.333 s5.59 MiB5.6 MiB+ 9.33 KiB
/wp-admin/upload.php0.579 s0.421 s-0.158 s3.38 MiB3.37 MiB- 11.71 KiB
/wp-admin/options-writing.php0.207 s0.206 s-0.001 s3.37 MiB3.35 MiB- 18.92 KiB
/wp-admin/media-new.php0.312 s0.252 s-0.060 s3.35 MiB3.35 MiB+ 1.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.198 s+0.011 s3.37 MiB3.37 MiB+ 5.65 KiB
/wp-admin/post-new.php?post_type=page0.604 s0.554 s-0.050 s5.59 MiB5.59 MiB+ 4.91 KiB
/wp-admin/options-discussion.php0.224 s0.302 s+0.078 s3.36 MiB3.35 MiB- 10.39 KiB
/wp-admin/edit-comments.php0.509 s0.223 s-0.286 s3.39 MiB3.38 MiB- 12.46 KiB
/0.354 s0.209 s-0.145 s3.37 MiB3.37 MiB+ 2.51 KiB
Average 0.409 s0.316 s-0.093 s3.79 MiB3.79 MiB- 1.81 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
Language % Lines of code Comment lines Files
PHP100.0%196231
Total 196 23 1

PHP Code Analysis | More results »

Lines of code 206
Total complexity 49
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function show_featured_post()
Classes 0
Methods 0
Functions 3

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 1

PHP Error Log 40 lines

[22-Apr-2024 02:02:39 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:39 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:40 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:40 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:40 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:40 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:40 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_query() in /wp-content/plugins/random-featured-post-plugin/featuredpost.php:120
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): fp_options_page()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(259): do_action()
#4 /wp-admin/options-general.php(10): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/random-featured-post-plugin/featuredpost.php on line 120
[22-Apr-2024 02:02:42 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:42 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:42 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:42 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:42 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:42 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:46 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:46 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:46 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:46 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:46 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:46 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:47 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:47 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:47 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:47 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:50 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:50 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:50 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:50 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:51 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:51 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:51 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:51 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[22-Apr-2024 02:02:51 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
See also: All tests for this plugin