WP Simple Related Posts 1.5.9

Does WP Simple Related Posts work with WordPress 6.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP warnings
3PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 40.73 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.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 400+
WordPress.org page https://wordpress.org/plugins/wp-simple-related-posts/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=wp-simple-related-posts%2Fsimple-related-posts.php&plugin_status=all&paged=1&s&_wpnonce=66b41d929e
Aspect after-activation
HTTP status 200
Load time 0.289 s
Memory usage 2.81 MiB
JS errors None
Resource errors None

Settings → Simple Related Posts

Page screenshot: Settings → Simple Related Posts
URL /wp-admin/options-general.php?page=simple_related_posts
Aspect menu-item
HTTP status 200
Load time 0.162 s
Memory usage 2.79 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.170 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.622 s
Memory usage 5.28 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 2.273 s
Memory usage 5.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.330 s0.310 s-0.020 s2.82 MiB2.87 MiB+ 45.7 KiB
/wp-admin/edit.php0.199 s0.209 s+0.010 s2.85 MiB2.89 MiB+ 45.76 KiB
/wp-admin/post-new.php0.750 s0.573 s-0.177 s5.21 MiB5.28 MiB+ 67.34 KiB
/wp-admin/upload.php0.579 s0.461 s-0.118 s2.77 MiB2.8 MiB+ 29.45 KiB
/wp-admin/options-writing.php0.228 s0.210 s-0.018 s2.76 MiB2.78 MiB+ 21.62 KiB
/wp-admin/media-new.php0.359 s0.256 s-0.103 s2.74 MiB2.78 MiB+ 42.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.219 s0.198 s-0.021 s2.76 MiB2.8 MiB+ 46.82 KiB
/wp-admin/post-new.php?post_type=page0.583 s0.535 s-0.048 s5.21 MiB5.27 MiB+ 63.43 KiB
/wp-admin/options-discussion.php0.226 s0.248 s+0.022 s2.75 MiB2.78 MiB+ 31.09 KiB
/wp-admin/edit-comments.php0.396 s0.380 s-0.016 s2.78 MiB2.81 MiB+ 28.03 KiB
/0.317 s0.208 s-0.109 s3.13 MiB3.15 MiB+ 26.62 KiB
Average 0.381 s0.326 s-0.054 s3.25 MiB3.29 MiB+ 40.73 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
CSS
Language % Lines of code Comment lines Files
PHP41.4%7523011
JavaScript39.0%709633
CSS10.3%18702
PO File8.0%146562
Markdown1.3%2301
Total 1,817 149 19

PHP Code Analysis | More results »

Lines of code 762
Total complexity 147
Median class complexity 10.0
Median method complexity 1.0
Most complex class Simple_Related_Posts_Admin_Meta_Box
Most complex function Simple_Related_Posts_Category_Tag::get_data_original()
Classes 9
Methods 47
Functions 7

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 3

Sidebar Widgets 1

ID Name
simple_related_posts_widgetSimple Related Posts

Meta Boxes

{
    "post": {
        "simple-related-posts": {
            "title": "Related Posts",
            "context": "advanced"
        }
    }
}

PHP Error Log 5 lines

[14-Aug-2023 15:21:23 UTC] PHP Deprecated:  Optional parameter $display_num declared before required parameter $post_id is implicitly treated as a required parameter in /wp-content/plugins/wp-simple-related-posts/modules/api.php on line 12
[14-Aug-2023 15:21:23 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-simple-related-posts/simple-related-posts.php on line 97
[14-Aug-2023 15:21:23 UTC] PHP Deprecated:  class_exists(): Passing null to parameter #1 ($class) of type string is deprecated in /wp-content/plugins/wp-simple-related-posts/simple-related-posts.php on line 97
[14-Aug-2023 15:21:23 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-simple-related-posts/simple-related-posts.php on line 97
[14-Aug-2023 15:21:23 UTC] PHP Deprecated:  class_exists(): Passing null to parameter #1 ($class) of type string is deprecated in /wp-content/plugins/wp-simple-related-posts/simple-related-posts.php on line 97
See also: All tests for this plugin, How to Hide WP Simple Related Posts Admin Menus and Meta Boxes