Similar Posts AI (SPAI) 1.6.0

Does Similar Posts AI (SPAI) work with WordPress 6.0.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 92.72 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.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/similar-posts-ai-spai/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=similar-posts-ai-spai%2Fspai.php&plugin_status=all&paged=1&s&_wpnonce=4c973b7d94
Aspect after-activation
HTTP status 200
Load time 1.294 s
Memory usage 3.78 MiB
JS errors None
Resource errors None

Settings → Similar Posts AI

Page screenshot: Settings → Similar Posts AI
URL /wp-admin/options-general.php?page=spai
Aspect menu-item
HTTP status 200
Load time 0.895 s
Memory usage 3.8 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.382 s
Memory usage 3.63 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.976 s
Memory usage 5.61 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.339 s0.372 s+0.033 s3.72 MiB3.81 MiB+ 90 KiB
/wp-admin/edit.php0.187 s0.216 s+0.029 s3.76 MiB3.84 MiB+ 88.7 KiB
/wp-admin/post-new.php0.958 s1.205 s+0.247 s5.55 MiB5.64 MiB+ 91.75 KiB
/wp-admin/upload.php0.428 s0.478 s+0.050 s3.69 MiB3.77 MiB+ 88.64 KiB
/wp-admin/options-writing.php0.150 s0.174 s+0.024 s3.62 MiB3.75 MiB+ 133.12 KiB
/wp-admin/media-new.php0.439 s0.222 s-0.217 s3.66 MiB3.75 MiB+ 89.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.199 s+0.009 s3.69 MiB3.78 MiB+ 89.35 KiB
/wp-admin/post-new.php?post_type=page1.455 s1.051 s-0.404 s5.54 MiB5.62 MiB+ 83.34 KiB
/wp-admin/options-discussion.php0.213 s0.415 s+0.202 s3.6 MiB3.75 MiB+ 153.7 KiB
/wp-admin/edit-comments.php0.215 s0.255 s+0.040 s3.7 MiB3.78 MiB+ 88.65 KiB
/0.276 s0.241 s-0.035 s3.6 MiB3.63 MiB+ 23.63 KiB
Average 0.441 s0.439 s-0.002 s4.01 MiB4.1 MiB+ 92.72 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP56.4%2,4901,48129
CSS19.2%847103
JavaScript18.7%8252245
PO File5.7%25293
Total 4,414 1,724 40

PHP Code Analysis | More results »

Lines of code 2,081
Total complexity 497
Median class complexity 7.0
Median method complexity 2.0
Most complex class Mobile_Detect
Most complex function Mobile_Detect::mobileGrade()
Classes 17
Methods 131
Functions 5

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.

Database Tables 1

Options wp_options 2

Sidebar Widgets 1

ID Name
spai_widgetSpai - related posts

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Similar Posts AI" Admin Menu