Similar Posts AI (SPAI) 1.8.1

Does Similar Posts AI (SPAI) work with WordPress 6.8.1 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.1
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=479e441475
Aspect after-activation
HTTP status 200
Load time 9.562 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.646 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.255 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.440 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.369 s0.316 s-0.053 s3.51 MiB3.57 MiB+ 61.79 KiB
/wp-admin/edit.php0.219 s0.220 s+0.001 s3.57 MiB3.63 MiB+ 61.23 KiB
/wp-admin/post-new.php0.921 s0.715 s-0.206 s6.06 MiB6.12 MiB+ 61 KiB
/wp-admin/upload.php0.853 s0.770 s-0.083 s3.52 MiB3.57 MiB+ 44.14 KiB
/wp-admin/options-writing.php0.229 s0.253 s+0.024 s3.5 MiB3.55 MiB+ 47.82 KiB
/wp-admin/media-new.php0.281 s0.297 s+0.016 s3.49 MiB3.55 MiB+ 56.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.218 s+0.026 s3.5 MiB3.57 MiB+ 66.69 KiB
/wp-admin/post-new.php?post_type=page0.765 s0.703 s-0.062 s6.05 MiB6.11 MiB+ 56.52 KiB
/wp-admin/options-discussion.php0.485 s0.595 s+0.110 s3.5 MiB3.55 MiB+ 44.95 KiB
/wp-admin/edit-comments.php0.219 s0.235 s+0.016 s3.52 MiB3.57 MiB+ 43.82 KiB
/0.335 s0.477 s+0.142 s3.43 MiB3.49 MiB+ 60.99 KiB
Average 0.443 s0.436 s-0.006 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

[08-May-2025 04:26:05 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