AI Image Generator 1.0.1

Does AI Image Generator work with WordPress 6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version6.2
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/ai-image-generator/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

AI Image Generator ‹ Test site — WordPress

Page screenshot: AI Image Generator ‹ Test site — WordPress
URL /wp-admin/upload.php?page=ai-wp-upcasted
Requested URL /wp-admin/plugins.php?action=activate&plugin=ai-image-generator%2Fai-for-wordpress-by-upcasted.php&plugin_status=all&paged=1&s&_wpnonce=6454d6be8a
Aspect after-activation
HTTP status 200
Load time 1.576 s
Memory usage 3.36 MiB
JS errors
[
    {
        "message": "Error: Minified React error #299; visit https://reactjs.org/docs/error-decoder.html?invariant=299 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\n    at Object.t.createRoot (/wp-content/plugins/ai-image-generator/dist/ai-wp-upcasted-react.js?ver=1.0.1:2:130226)\n    at /wp-content/plugins/ai-image-generator/dist/ai-wp-upcasted-react.js?ver=1.0.1:2:176041",
        "trace": null,
        "code": null
    }
]
Resource errors None

Media → AI Generator

Page screenshot: Media → AI Generator
URL /wp-admin/upload.php?page=ai-wp-upcasted
Aspect menu-item
HTTP status 200
Load time 0.282 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Settings → AI Image Generator

Page screenshot: Settings → AI Image Generator
URL /wp-admin/options-general.php?page=ai-wp-upcasted-options
Aspect menu-item
HTTP status 200
Load time 0.285 s
Memory usage 3.13 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.234 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.293 s0.450 s+0.157 s3.07 MiB3.26 MiB+ 194.66 KiB
/wp-admin/edit.php0.177 s0.297 s+0.120 s3.1 MiB3.3 MiB+ 201.28 KiB
/wp-admin/post-new.php0.751 s0.880 s+0.129 s5.02 MiB5.13 MiB+ 116.57 KiB
/wp-admin/upload.php0.624 s0.300 s-0.324 s3.02 MiB3.11 MiB+ 100.66 KiB
/wp-admin/options-writing.php0.181 s0.245 s+0.064 s3.01 MiB3.12 MiB+ 110.71 KiB
/wp-admin/media-new.php0.266 s0.305 s+0.039 s2.99 MiB3.12 MiB+ 129.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.244 s0.282 s+0.038 s3.01 MiB3.15 MiB+ 147.67 KiB
/wp-admin/post-new.php?post_type=page0.604 s0.727 s+0.123 s5.01 MiB5.12 MiB+ 111.22 KiB
/wp-admin/options-discussion.php0.207 s0.377 s+0.170 s3 MiB3.12 MiB+ 124.45 KiB
/wp-admin/edit-comments.php0.217 s0.309 s+0.092 s3.03 MiB3.14 MiB+ 119.04 KiB
/0.296 s0.217 s-0.079 s2.97 MiB3.1 MiB+ 135.4 KiB
Average 0.351 s0.399 s+0.048 s3.38 MiB3.52 MiB+ 135.57 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
PHP94.9%34,39218,275138
Markdown2.6%93304
CSS1.4%5062514
JavaScript0.6%222774
JSON0.5%17205
SVG0.0%101
Total 36,226 18,377 166

PHP Code Analysis | More results »

Lines of code 24,707
Total complexity 6,217
Median class complexity 16.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 62
Methods 1,390
Functions 99

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.

Options wp_options 4

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide AI Image Generator Admin Menus