OpenAI Tools 1.6.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: 25.18 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=1212ca4956
Aspect after-activation
HTTP status 200
Load time 0.392 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.498 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.220 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.605 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.343 s0.324 s-0.019 s3.38 MiB3.42 MiB+ 36.36 KiB
/wp-admin/edit.php0.214 s0.192 s-0.022 s3.41 MiB3.44 MiB+ 36.36 KiB
/wp-admin/post-new.php1.041 s0.618 s-0.423 s5.46 MiB5.5 MiB+ 44.6 KiB
/wp-admin/upload.php0.728 s0.586 s-0.142 s3.32 MiB3.34 MiB+ 18.95 KiB
/wp-admin/options-writing.php0.231 s0.258 s+0.027 s3.32 MiB3.33 MiB+ 11.54 KiB
/wp-admin/media-new.php0.317 s0.306 s-0.011 s3.3 MiB3.33 MiB+ 31.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.195 s-0.015 s3.31 MiB3.35 MiB+ 36.31 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.615 s+0.003 s5.45 MiB5.49 MiB+ 43.94 KiB
/wp-admin/options-discussion.php0.304 s0.244 s-0.060 s3.3 MiB3.32 MiB+ 19.45 KiB
/wp-admin/edit-comments.php0.254 s0.368 s+0.114 s3.34 MiB3.35 MiB+ 18.95 KiB
/0.301 s0.230 s-0.071 s3.36 MiB3.34 MiB- 20.63 KiB
Average 0.414 s0.358 s-0.056 s3.72 MiB3.75 MiB+ 25.18 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
PHP96.0%1,9565413
JavaScript3.2%6511
SVG0.8%1701
Total 2,038 55 15

PHP Code Analysis | More results »

Lines of code 892
Total complexity 78
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 28

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

[21-Mar-2024 09:52:22 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
[21-Mar-2024 09:52:22 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
[21-Mar-2024 09:52:22 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
[21-Mar-2024 09:52:22 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
[21-Mar-2024 09:52:22 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
[21-Mar-2024 09:52:31 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
[21-Mar-2024 09:52:31 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
[21-Mar-2024 09:52:31 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
[21-Mar-2024 09:52:31 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
[21-Mar-2024 09:52:31 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