Supertext Translation 4.01

Does Supertext Translation work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 170.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 60+
WordPress.org page https://wordpress.org/plugins/polylang-supertext/
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=polylang-supertext%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=b7fda97ba4
Aspect after-activation
HTTP status 200
Load time 0.381 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Settings → Supertext

Page screenshot: Settings → Supertext
URL /wp-admin/options-general.php?page=supertext-settings
Aspect menu-item
HTTP status 200
Load time 0.383 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

Settings → Supertext → Translatable fields

Page screenshot: Settings → Supertext → Translatable fields
URL /wp-admin/options-general.php?page=supertext-settings&tab=translatablefields
Aspect menu-item-tab
HTTP status 200
Load time 0.181 s
Memory usage 2.91 MiB
JS errors
[
    {
        "message": "ReferenceError: savedFieldDefinitionIds is not defined\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=41:98:29)\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=41:131:34)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=41:323:45)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=5.7.2:2:30005)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=5.7.2:2:30307)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Settings → Supertext → Shortcodes

Page screenshot: Settings → Supertext → Shortcodes
URL /wp-admin/options-general.php?page=supertext-settings&tab=shortcodes
Aspect menu-item-tab
HTTP status 200
Load time 0.163 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

Settings → Supertext → Workflow and API

Page screenshot: Settings → Supertext → Workflow and API
URL /wp-admin/options-general.php?page=supertext-settings&tab=workflow
Aspect menu-item-tab
HTTP status 200
Load time 0.183 s
Memory usage 2.92 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.231 s
Memory usage 2.66 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.332 s0.296 s-0.036 s2.82 MiB2.96 MiB+ 140.82 KiB
/wp-admin/edit.php0.307 s0.258 s-0.049 s2.86 MiB3.14 MiB+ 280.67 KiB
/wp-admin/post-new.php1.552 s0.729 s-0.823 s5.02 MiB5.21 MiB+ 194.23 KiB
/wp-admin/upload.php0.584 s0.490 s-0.094 s2.7 MiB2.9 MiB+ 206.62 KiB
/wp-admin/options-writing.php0.184 s0.220 s+0.036 s2.71 MiB2.88 MiB+ 171.08 KiB
/wp-admin/media-new.php0.234 s0.182 s-0.052 s2.67 MiB2.87 MiB+ 205.03 KiB
/wp-admin/edit-tags.php?taxonomy=category0.237 s0.210 s-0.027 s2.77 MiB2.91 MiB+ 140.18 KiB
/wp-admin/post-new.php?post_type=page0.715 s0.632 s-0.083 s5.01 MiB5.19 MiB+ 189.19 KiB
/wp-admin/options-discussion.php0.237 s0.235 s-0.002 s2.67 MiB2.87 MiB+ 204.52 KiB
/wp-admin/edit-comments.php0.230 s0.259 s+0.029 s2.78 MiB2.91 MiB+ 139.09 KiB
/0.277 s0.252 s-0.025 s2.65 MiB2.66 MiB+ 8.52 KiB
Average 0.444 s0.342 s-0.102 s3.15 MiB3.32 MiB+ 170.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.

JavaScript
PHP
PO File
CSS
Language % Lines of code Comment lines Files
JavaScript37.6%7,2552,5455
PHP24.7%4,7651,69359
PO File21.1%4,0691,87516
CSS13.3%2,560464
Sass2.9%56012
Markdown0.3%5901
JSON0.2%3001
Total 19,298 6,160 88

PHP Code Analysis | More results »

Lines of code 4,150
Total complexity 811
Median class complexity 15.0
Median method complexity 2.0
Most complex class Supertext\Backend\AjaxRequestHandler
Most complex function Supertext\Helper\TextProcessor::replaceShortcodeNodesRecursive()
Classes 41
Methods 326
Functions 2

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

PHP Error Log 1 lines

[18-May-2021 08:04:00 UTC] PHP Notice:  Undefined index: apiServerUrl in /wp-content/plugins/polylang-supertext/src/Supertext/VersionMigration.php on line 122
See also: All tests for this plugin, How to Hide the "Supertext" Admin Menu