OpenAI Tools 1.5.0

Does OpenAI Tools work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 19.91 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.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/openai-tools-for-wp-wc/
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=openai-tools-for-wp-wc%2Fopenai-tools.php&plugin_status=all&paged=1&s&_wpnonce=c5d096f88c
Aspect after-activation
HTTP status 200
Load time 0.245 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Settings → AI Server

Page screenshot: Settings → AI Server
URL /wp-admin/options-general.php?page=ai-tools-settings
Aspect menu-item
HTTP status 200
Load time 0.568 s
Memory usage 3.36 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.180 s
Memory usage 3.33 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.604 s
Memory usage 5.5 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.362 s0.350 s-0.012 s3.38 MiB3.41 MiB+ 31.12 KiB
/wp-admin/edit.php0.203 s0.199 s-0.004 s3.41 MiB3.44 MiB+ 31.12 KiB
/wp-admin/post-new.php0.858 s1.172 s+0.314 s5.46 MiB5.5 MiB+ 39.36 KiB
/wp-admin/upload.php0.637 s0.433 s-0.204 s3.32 MiB3.34 MiB+ 13.71 KiB
/wp-admin/options-writing.php0.216 s0.200 s-0.016 s3.32 MiB3.32 MiB+ 6.3 KiB
/wp-admin/media-new.php0.300 s0.277 s-0.023 s3.3 MiB3.32 MiB+ 25.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.187 s-0.028 s3.31 MiB3.34 MiB+ 31.07 KiB
/wp-admin/post-new.php?post_type=page0.577 s0.706 s+0.129 s5.45 MiB5.49 MiB+ 38.7 KiB
/wp-admin/options-discussion.php0.215 s0.463 s+0.248 s3.3 MiB3.32 MiB+ 14.2 KiB
/wp-admin/edit-comments.php0.508 s0.236 s-0.272 s3.34 MiB3.35 MiB+ 13.7 KiB
/0.285 s0.219 s-0.066 s3.36 MiB3.33 MiB- 26.18 KiB
Average 0.398 s0.404 s+0.006 s3.72 MiB3.74 MiB+ 19.91 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
Language % Lines of code Comment lines Files
PHP95.5%1,7495212
JavaScript3.5%6511
SVG0.9%1701
Total 1,831 53 14

PHP Code Analysis | More results »

Lines of code 812
Total complexity 67
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function ai_tools_settings_page()
Classes 0
Methods 0
Functions 24

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.

Meta Boxes

{
    "post": {
        "openai_post_comment_generator": {
            "title": "AI Commenter",
            "context": "side"
        }
    },
    "product": {
        "ai_reviwer": {
            "title": "AI Reviewer",
            "context": "side"
        }
    }
}

PHP Error Log 10 lines

[20-Mar-2024 03:19:43 UTC] PHP Warning:  Undefined variable $disable_openai in /wp-content/plugins/openai-tools-for-wp-wc/templates/admin/post-comment-generator.php on line 13
[20-Mar-2024 03:19:43 UTC] PHP Warning:  Undefined variable $disable_groq in /wp-content/plugins/openai-tools-for-wp-wc/templates/admin/post-comment-generator.php on line 17
[20-Mar-2024 03:19:43 UTC] PHP Warning:  Undefined variable $disable_submit in /wp-content/plugins/openai-tools-for-wp-wc/templates/admin/post-comment-generator.php on line 46
[20-Mar-2024 03:19:43 UTC] PHP Warning:  Undefined variable $disable_submit in /wp-content/plugins/openai-tools-for-wp-wc/templates/admin/post-comment-generator.php on line 47
[20-Mar-2024 03:19:43 UTC] PHP Warning:  Undefined variable $disable_submit in /wp-content/plugins/openai-tools-for-wp-wc/templates/admin/post-comment-generator.php on line 140
[20-Mar-2024 03:19:52 UTC] PHP Warning:  Undefined variable $disable_openai in /wp-content/plugins/openai-tools-for-wp-wc/templates/admin/post-comment-generator.php on line 13
[20-Mar-2024 03:19:52 UTC] PHP Warning:  Undefined variable $disable_groq in /wp-content/plugins/openai-tools-for-wp-wc/templates/admin/post-comment-generator.php on line 17
[20-Mar-2024 03:19:52 UTC] PHP Warning:  Undefined variable $disable_submit in /wp-content/plugins/openai-tools-for-wp-wc/templates/admin/post-comment-generator.php on line 46
[20-Mar-2024 03:19:52 UTC] PHP Warning:  Undefined variable $disable_submit in /wp-content/plugins/openai-tools-for-wp-wc/templates/admin/post-comment-generator.php on line 47
[20-Mar-2024 03:19:52 UTC] PHP Warning:  Undefined variable $disable_submit in /wp-content/plugins/openai-tools-for-wp-wc/templates/admin/post-comment-generator.php on line 140
See also: All tests for this plugin, How to Hide OpenAI Tools Admin Menus and Meta Boxes