AI Translate 1.20

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: 92.09 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=1430b1c627
Aspect after-activation
HTTP status 200
Load time 0.405 s
Memory usage 3.6 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.538 s
Memory usage 3.57 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.180 s
Memory usage 3.57 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.657 s
Memory usage 3.77 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.593 s0.336 s-0.257 s3.51 MiB3.59 MiB+ 83.09 KiB
/wp-admin/edit.php0.222 s0.299 s+0.077 s3.57 MiB3.65 MiB+ 82.2 KiB
/wp-admin/post-new.php0.812 s1.202 s+0.390 s6.06 MiB6.16 MiB+ 103.48 KiB
/wp-admin/upload.php0.622 s0.591 s-0.031 s3.52 MiB3.59 MiB+ 63.32 KiB
/wp-admin/options-writing.php0.232 s0.210 s-0.022 s3.5 MiB3.57 MiB+ 67.31 KiB
/wp-admin/media-new.php0.285 s0.286 s+0.001 s3.49 MiB3.57 MiB+ 75.51 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.203 s+0.000 s3.5 MiB3.59 MiB+ 86.18 KiB
/wp-admin/post-new.php?post_type=page1.141 s0.861 s-0.280 s6.05 MiB6.15 MiB+ 99.01 KiB
/wp-admin/options-discussion.php0.328 s0.256 s-0.072 s3.5 MiB3.56 MiB+ 63.81 KiB
/wp-admin/edit-comments.php0.475 s0.445 s-0.030 s3.52 MiB3.58 MiB+ 63.31 KiB
/0.358 s0.269 s-0.089 s3.5 MiB3.72 MiB+ 225.75 KiB
Average 0.479 s0.451 s-0.028 s3.98 MiB4.07 MiB+ 92.09 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
PHP79.9%3,2461,0293
JavaScript14.1%574402
CSS3.2%12912
Markdown2.8%11301
Total 4,062 1,070 8

PHP Code Analysis | More results »

Lines of code 3,273
Total complexity 577
Median class complexity 466.0
Median method complexity 3.5
Most complex class AITranslate\AI_Translate_Core
Most complex function AITranslate\AI_Translate_Core::translate_text()
Classes 1
Methods 70
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.

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