AI Translate 1.25

Does AI Translate work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 108.23 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/ai-translate/
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=ai-translate%2Fai-translate.php&plugin_status=all&paged=1&s&_wpnonce=2c53772c3b
Aspect after-activation
HTTP status 200
Load time 0.380 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

AI Translate

Page screenshot: AI Translate
URL /wp-admin/admin.php?page=ai-translate
Aspect menu-item
HTTP status 200
Load time 0.513 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

AI Translate → Cache

Page screenshot: AI Translate → Cache
URL /wp-admin/admin.php?page=ai-translate&tab=cache
Aspect menu-item-tab
HTTP status 200
Load time 0.166 s
Memory usage 3.58 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.520 s
Memory usage 3.78 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.324 s0.263 s-0.061 s3.51 MiB3.6 MiB+ 92.97 KiB
/wp-admin/edit.php0.188 s0.166 s-0.022 s3.57 MiB3.66 MiB+ 93.8 KiB
/wp-admin/post-new.php0.730 s0.573 s-0.157 s6.06 MiB6.17 MiB+ 113.36 KiB
/wp-admin/upload.php0.500 s0.573 s+0.073 s3.52 MiB3.6 MiB+ 73.52 KiB
/wp-admin/options-writing.php0.189 s0.162 s-0.027 s3.5 MiB3.58 MiB+ 77.51 KiB
/wp-admin/media-new.php0.221 s0.202 s-0.019 s3.49 MiB3.58 MiB+ 85.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.172 s0.152 s-0.020 s3.5 MiB3.6 MiB+ 96.38 KiB
/wp-admin/post-new.php?post_type=page0.551 s0.539 s-0.012 s6.05 MiB6.16 MiB+ 108.89 KiB
/wp-admin/options-discussion.php0.222 s0.194 s-0.028 s3.5 MiB3.57 MiB+ 74.01 KiB
/wp-admin/edit-comments.php0.192 s0.156 s-0.036 s3.52 MiB3.59 MiB+ 73.51 KiB
/0.289 s0.167 s-0.122 s3.44 MiB3.73 MiB+ 300.85 KiB
Average 0.325 s0.286 s-0.039 s3.97 MiB4.08 MiB+ 108.23 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
JavaScript
Language % Lines of code Comment lines Files
PHP76.0%3,7371,1963
JavaScript16.7%8201053
CSS4.5%221163
Markdown2.9%14101
Total 4,919 1,317 10

PHP Code Analysis | More results »

Lines of code 3,773
Total complexity 678
Median class complexity 547.0
Median method complexity 3.0
Most complex class AITranslate\AI_Translate_Core
Most complex function AITranslate\AI_Translate_Core::translate_text()
Classes 1
Methods 81
Functions 29

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 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "AI Translate" Admin Menu