Similar Posts AI (SPAI) 1.5.6

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

Summary

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

Memory usage: 89.73 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.188 seconds
The average page load time increased by this amount after activating the plugin.

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=b478898329
Aspect after-activation
HTTP status 200
Load time 1.419 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.896 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 2.178 s
Memory usage 3.64 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.793 s
Memory usage 5.61 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.334 s0.352 s+0.018 s3.72 MiB3.81 MiB+ 85.29 KiB
/wp-admin/edit.php0.199 s0.217 s+0.018 s3.76 MiB3.84 MiB+ 83.95 KiB
/wp-admin/post-new.php0.755 s0.989 s+0.234 s5.55 MiB5.63 MiB+ 87.04 KiB
/wp-admin/upload.php0.402 s0.368 s-0.034 s3.69 MiB3.77 MiB+ 83.9 KiB
/wp-admin/options-writing.php0.154 s0.165 s+0.011 s3.62 MiB3.74 MiB+ 128.38 KiB
/wp-admin/media-new.php0.436 s0.211 s-0.225 s3.66 MiB3.75 MiB+ 84.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.225 s0.209 s-0.016 s3.69 MiB3.77 MiB+ 84.61 KiB
/wp-admin/post-new.php?post_type=page0.696 s0.878 s+0.182 s5.54 MiB5.62 MiB+ 78.63 KiB
/wp-admin/options-discussion.php0.222 s0.366 s+0.144 s3.6 MiB3.74 MiB+ 148.95 KiB
/wp-admin/edit-comments.php0.223 s0.240 s+0.017 s3.7 MiB3.78 MiB+ 83.94 KiB
/0.290 s2.006 s+1.716 s3.6 MiB3.64 MiB+ 38.05 KiB
Average 0.358 s0.546 s+0.188 s4.01 MiB4.1 MiB+ 89.73 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.2%2,4141,45529
CSS19.7%847103
JavaScript18.2%7841974
PO File5.9%25293
Total 4,297 1,671 39

PHP Code Analysis | More results »

Lines of code 2,005
Total complexity 475
Median class complexity 7.0
Median method complexity 2.0
Most complex class Mobile_Detect
Most complex function Mobile_Detect::mobileGrade()
Classes 17
Methods 120
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 11 lines

[09-Sep-2022 08:44:54 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, object given in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 193
[09-Sep-2022 08:45:04 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, object given in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 193
[09-Sep-2022 08:45:11 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, object given in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 193
[09-Sep-2022 08:45:11 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, object given in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 193
[09-Sep-2022 08:45:11 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, object given in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 193
[09-Sep-2022 08:45:11 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, object given in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 193
[09-Sep-2022 08:45:11 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, object given in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 193
[09-Sep-2022 08:45:12 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, object given in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 193
[09-Sep-2022 08:45:13 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, object given in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 193
[09-Sep-2022 08:45:13 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, object given in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 193
[09-Sep-2022 08:45:13 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, object given in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 193
See also: All tests for this plugin, How to Hide the "Similar Posts AI" Admin Menu