WP Simple Related Posts 1.6.0

Does WP Simple Related Posts work with WordPress 6.3.1 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: 41.17 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.1
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=3aec0da6af
Aspect after-activation
HTTP status 200
Load time 0.303 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.177 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.942 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.591 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.350 s0.298 s-0.052 s2.82 MiB2.87 MiB+ 46.53 KiB
/wp-admin/edit.php0.206 s0.193 s-0.013 s2.85 MiB2.89 MiB+ 46.59 KiB
/wp-admin/post-new.php0.758 s0.626 s-0.132 s5.21 MiB5.28 MiB+ 68.16 KiB
/wp-admin/upload.php0.839 s0.424 s-0.415 s2.77 MiB2.8 MiB+ 30.29 KiB
/wp-admin/options-writing.php0.226 s0.191 s-0.035 s2.76 MiB2.78 MiB+ 22.45 KiB
/wp-admin/media-new.php0.318 s0.272 s-0.046 s2.74 MiB2.78 MiB+ 43.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.228 s+0.037 s2.76 MiB2.8 MiB+ 47.65 KiB
/wp-admin/post-new.php?post_type=page0.686 s0.594 s-0.092 s5.21 MiB5.27 MiB+ 64.26 KiB
/wp-admin/options-discussion.php0.437 s0.232 s-0.205 s2.75 MiB2.78 MiB+ 31.91 KiB
/wp-admin/edit-comments.php0.278 s0.201 s-0.077 s2.78 MiB2.81 MiB+ 28.86 KiB
/0.282 s0.171 s-0.111 s3.13 MiB3.15 MiB+ 23.13 KiB
Average 0.416 s0.312 s-0.104 s3.25 MiB3.29 MiB+ 41.17 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
PHP40.2%7753113
JavaScript36.8%709633
CSS9.7%18702
PO File7.6%146562
Bourne Shell3.1%5941
Markdown1.2%2401
XML0.7%1401
YAML0.6%1201
Total 1,926 154 24

PHP Code Analysis | More results »

Lines of code 785
Total complexity 152
Median class complexity 11.5
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 10
Methods 49
Functions 8

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

[03-Sep-2023 16:49:53 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
[03-Sep-2023 16:49:53 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
[03-Sep-2023 16:49:53 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
[03-Sep-2023 16:49:53 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
[03-Sep-2023 16:49:53 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