Weglot Translate 3.3.0

Does Weglot Translate work with WordPress 5.6 and PHP 7.4.8? 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: 186.9 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 version5.6
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 60,000+
WordPress.org page https://wordpress.org/plugins/weglot/
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=weglot%2Fweglot.php&plugin_status=all&paged=1&s&_wpnonce=4d2041a27e
Aspect after-activation
HTTP status 200
Load time 0.359 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Weglot

Page screenshot: Weglot
URL /wp-admin/admin.php?page=weglot-settings
Aspect menu-item
HTTP status 200
Load time 2.021 s
Memory usage 3.11 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'value' of undefined\n    at Function.fg [as fromTextArea] (/wp-includes/js/codemirror/codemirror.min.js?ver=5.29.1-alpha-ee20357:22:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=5.6:2:1977)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/weglot/dist/admin-js.js?ver=3.3.0:1:7447)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils&ver=5.6:2:30005)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils&ver=5.6:2:30307)",
        "trace": null,
        "code": null
    }
]
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.446 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 0.984 s
Memory usage 2.97 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.292 s0.382 s+0.090 s2.79 MiB2.95 MiB+ 165.35 KiB
/wp-admin/edit.php0.294 s0.227 s-0.067 s2.84 MiB3 MiB+ 164.67 KiB
/wp-admin/post-new.php1.622 s0.751 s-0.871 s4.93 MiB5.17 MiB+ 241.71 KiB
/wp-admin/upload.php0.584 s0.555 s-0.029 s2.67 MiB2.83 MiB+ 164.26 KiB
/wp-admin/options-writing.php0.224 s0.197 s-0.027 s2.68 MiB2.87 MiB+ 196.23 KiB
/wp-admin/media-new.php0.226 s0.204 s-0.022 s2.64 MiB2.81 MiB+ 164.43 KiB
/wp-admin/edit-tags.php?taxonomy=category0.211 s0.354 s+0.143 s2.68 MiB2.9 MiB+ 229.34 KiB
/wp-admin/post-new.php?post_type=page0.686 s1.273 s+0.587 s4.92 MiB5.15 MiB+ 237.3 KiB
/wp-admin/options-discussion.php0.222 s0.366 s+0.144 s2.65 MiB2.81 MiB+ 165.05 KiB
/wp-admin/edit-comments.php0.229 s0.309 s+0.080 s2.75 MiB2.91 MiB+ 164.28 KiB
/0.328 s0.275 s-0.053 s2.67 MiB2.83 MiB+ 163.29 KiB
Average 0.447 s0.445 s-0.002 s3.11 MiB3.29 MiB+ 186.9 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
PO File
Sass
Language % Lines of code Comment lines Files
PHP48.9%6,1262,488121
PO File31.4%3,9341,7688
Sass11.0%1,38306
JavaScript5.9%7382015
CSS2.5%307161
JSON0.3%4101
Total 12,529 4,292 152

PHP Code Analysis | More results »

Lines of code 4,950
Total complexity 834
Median class complexity 3.0
Median method complexity 2.0
Most complex class WeglotWP\Services\Option_Service_Weglot
Most complex function WeglotWP\Actions\Front\Front_Menu_Weglot::weglot_wp_get_nav_menu_items()
Classes 101
Methods 264
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.

Options wp_options 2

Sidebar Widgets 1

ID Name
weglot-translateWeglot Translate

PHP Error Log

The log file is empty.

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