Similar Posts AI (SPAI) 1.8.1

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

Summary

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

Memory usage: 55 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.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=b13ee5aed7
Aspect after-activation
HTTP status 200
Load time 7.131 s
Memory usage 3.59 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.614 s
Memory usage 3.57 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.192 s
Memory usage 3.57 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.209 s
Memory usage 5.88 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.325 s0.258 s-0.067 s3.51 MiB3.57 MiB+ 61.79 KiB
/wp-admin/edit.php0.189 s0.193 s+0.004 s3.57 MiB3.63 MiB+ 61.23 KiB
/wp-admin/post-new.php0.733 s0.637 s-0.096 s6.06 MiB6.12 MiB+ 61 KiB
/wp-admin/upload.php0.533 s0.755 s+0.222 s3.52 MiB3.57 MiB+ 44.14 KiB
/wp-admin/options-writing.php0.204 s0.169 s-0.035 s3.5 MiB3.55 MiB+ 47.82 KiB
/wp-admin/media-new.php0.255 s0.231 s-0.024 s3.49 MiB3.55 MiB+ 56.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.176 s-0.004 s3.5 MiB3.57 MiB+ 66.69 KiB
/wp-admin/post-new.php?post_type=page0.581 s0.591 s+0.010 s6.05 MiB6.11 MiB+ 56.52 KiB
/wp-admin/options-discussion.php0.273 s0.338 s+0.065 s3.5 MiB3.55 MiB+ 44.95 KiB
/wp-admin/edit-comments.php0.395 s0.176 s-0.219 s3.52 MiB3.57 MiB+ 43.82 KiB
/0.289 s0.161 s-0.128 s3.43 MiB3.49 MiB+ 60.99 KiB
Average 0.360 s0.335 s-0.025 s3.97 MiB4.02 MiB+ 55 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
PHP60.0%3,0001,69836
CSS18.5%924103
JavaScript17.8%8902276
PO File3.8%18862
Total 5,002 1,941 47

PHP Code Analysis | More results »

Lines of code 2,448
Total complexity 574
Median class complexity 8.0
Median method complexity 1.0
Most complex class Mobile_Detect
Most complex function Mobile_Detect::mobileGrade()
Classes 23
Methods 173
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 1 lines

[23-Jul-2025 17:01:10 UTC] PHP Warning:  Undefined property: stdClass::$result in /wp-content/plugins/similar-posts-ai-spai/includes/class-spai-activator.php on line 107
See also: All tests for this plugin, How to Hide the "Similar Posts AI" Admin Menu