Weglot Translate 3.3.5

Does Weglot Translate work with WordPress 5.7.2 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: 198.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.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 50,000+
WordPress.org page https://wordpress.org/plugins/weglot/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=4edf4201c8
Aspect after-activation
HTTP status 200
Load time 0.286 s
Memory usage 2.99 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 1.984 s
Memory usage 3.15 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.7.2:2:1978)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/weglot/dist/admin-js.js?ver=3.3.5:1:8394)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils&ver=5.7.2:2:30005)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils&ver=5.7.2: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.256 s
Memory usage 2.81 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 1.042 s
Memory usage 5.27 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.805 s
Memory usage 5.25 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.898 s
Memory usage 3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.256 s0.299 s+0.043 s2.82 MiB2.99 MiB+ 170.77 KiB
/wp-admin/edit.php0.176 s0.206 s+0.030 s2.86 MiB3.03 MiB+ 170.09 KiB
/wp-admin/post-new.php0.888 s1.098 s+0.210 s5.02 MiB5.27 MiB+ 249.71 KiB
/wp-admin/upload.php0.485 s0.546 s+0.061 s2.7 MiB2.92 MiB+ 233.68 KiB
/wp-admin/options-writing.php0.255 s0.168 s-0.087 s2.71 MiB2.91 MiB+ 201.66 KiB
/wp-admin/media-new.php0.234 s0.191 s-0.043 s2.67 MiB2.9 MiB+ 233.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.201 s+0.026 s2.77 MiB2.94 MiB+ 170.76 KiB
/wp-admin/post-new.php?post_type=page1.166 s1.037 s-0.129 s5.01 MiB5.25 MiB+ 245.3 KiB
/wp-admin/options-discussion.php0.291 s0.202 s-0.089 s2.67 MiB2.9 MiB+ 234.48 KiB
/wp-admin/edit-comments.php0.233 s0.271 s+0.038 s2.78 MiB2.94 MiB+ 169.7 KiB
/0.251 s0.243 s-0.008 s2.71 MiB2.81 MiB+ 107.91 KiB
Average 0.401 s0.406 s+0.005 s3.16 MiB3.35 MiB+ 198.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
PHP49.6%6,3272,553125
PO File30.9%3,9341,7688
Sass10.8%1,38306
JavaScript5.9%7462015
CSS2.4%307161
JSON0.4%5101
Total 12,748 4,357 156

PHP Code Analysis | More results »

Lines of code 5,150
Total complexity 887
Median class complexity 3.5
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 104
Methods 271
Functions 33

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

Meta Boxes

{
    "post": {
        "weglot-url-translate": {
            "title": "Weglot URL Translate",
            "context": "advanced"
        }
    },
    "page": {
        "weglot-url-translate": {
            "title": "Weglot URL Translate",
            "context": "advanced"
        }
    }
}

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