OpenAI Tools 1.4.1

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

Summary

Errors
No PHP errors, warnings or notices
2JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 11.19 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=926c16f114
Aspect after-activation
HTTP status 200
Load time 0.255 s
Memory usage 3.34 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at /wp-content/plugins/openai-tools-for-wp-wc/assets/js/admin.js?ver=1.0.0:23:41",
        "trace": null,
        "code": null
    }
]
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.655 s
Memory usage 3.35 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.32 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.613 s
Memory usage 5.49 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at /wp-content/plugins/openai-tools-for-wp-wc/assets/js/admin.js?ver=1.0.0:23:41",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.418 s0.300 s-0.118 s3.38 MiB3.4 MiB+ 22.19 KiB
/wp-admin/edit.php0.209 s0.192 s-0.017 s3.41 MiB3.43 MiB+ 22.19 KiB
/wp-admin/post-new.php0.938 s1.210 s+0.272 s5.46 MiB5.49 MiB+ 30.7 KiB
/wp-admin/upload.php0.625 s0.461 s-0.164 s3.32 MiB3.33 MiB+ 5.15 KiB
/wp-admin/options-writing.php0.207 s0.201 s-0.006 s3.32 MiB3.32 MiB- 2.01 KiB
/wp-admin/media-new.php0.324 s0.297 s-0.027 s3.3 MiB3.31 MiB+ 16.97 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.199 s+0.006 s3.31 MiB3.34 MiB+ 22.14 KiB
/wp-admin/post-new.php?post_type=page0.920 s0.722 s-0.198 s5.45 MiB5.48 MiB+ 29.77 KiB
/wp-admin/options-discussion.php0.243 s0.266 s+0.023 s3.3 MiB3.31 MiB+ 7.15 KiB
/wp-admin/edit-comments.php0.240 s0.230 s-0.010 s3.34 MiB3.34 MiB+ 4.77 KiB
/0.488 s0.409 s-0.079 s3.36 MiB3.32 MiB- 35.93 KiB
Average 0.437 s0.408 s-0.029 s3.72 MiB3.73 MiB+ 11.19 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
PHP92.8%1,054336
JavaScript5.7%6511
SVG1.5%1701
Total 1,136 34 8

PHP Code Analysis | More results »

Lines of code 520
Total complexity 56
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function ai_tools_request_reviews_api()
Classes 0
Methods 0
Functions 19

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

The log file is empty.

See also: All tests for this plugin, How to Hide OpenAI Tools Admin Menus and Meta Boxes