WP Simple Related Posts 1.5.8

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

Summary

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

Memory usage: 50.99 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 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=c80ef5502f
Aspect after-activation
HTTP status 200
Load time 0.301 s
Memory usage 3.09 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.182 s
Memory usage 3.05 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.266 s
Memory usage 2.94 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 1.244 s
Memory usage 5.32 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.982 s
Memory usage 4.51 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.280 s-0.064 s3.08 MiB3.13 MiB+ 46.88 KiB
/wp-admin/edit.php0.180 s0.207 s+0.027 s3.11 MiB3.22 MiB+ 111.99 KiB
/wp-admin/post-new.php0.959 s0.958 s-0.001 s5.27 MiB5.32 MiB+ 55.25 KiB
/wp-admin/upload.php0.576 s0.474 s-0.102 s3.03 MiB3.08 MiB+ 46.41 KiB
/wp-admin/options-writing.php0.177 s0.144 s-0.033 s3.02 MiB3.06 MiB+ 31.26 KiB
/wp-admin/media-new.php0.265 s0.197 s-0.068 s3.01 MiB3.05 MiB+ 47.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.188 s-0.019 s3.04 MiB3.09 MiB+ 48.11 KiB
/wp-admin/post-new.php?post_type=page1.024 s0.922 s-0.102 s5.26 MiB5.31 MiB+ 51.48 KiB
/wp-admin/options-discussion.php0.312 s0.294 s-0.018 s3 MiB3.05 MiB+ 47.77 KiB
/wp-admin/edit-comments.php0.231 s0.214 s-0.017 s3.04 MiB3.09 MiB+ 45.48 KiB
/0.348 s0.223 s-0.125 s2.91 MiB2.94 MiB+ 28.71 KiB
Average 0.420 s0.373 s-0.047 s3.43 MiB3.48 MiB+ 50.99 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
PO File
Language % Lines of code Comment lines Files
PHP42.2%7523011
JavaScript37.8%673633
CSS10.5%18702
PO File8.2%146562
Markdown1.2%2201
Total 1,780 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 2 lines

[24-Jul-2021 10:18:03 UTC] PHP Notice:  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
[24-Jul-2021 10:18:03 UTC] PHP Notice:  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
See also: All tests for this plugin, How to Hide WP Simple Related Posts Admin Menus and Meta Boxes