Smartling Connector 3.5.2

Does Smartling Connector work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
7JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 919.9 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.094 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.3.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/smartling-connector/
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=smartling-connector%2Fsmartling-connector.php&plugin_status=all&paged=1&s&_wpnonce=f9c9d4e1d4
Aspect after-activation
HTTP status 200
Load time 0.909 s
Memory usage 4.38 MiB
JS errors
[
    {
        "message": "ReferenceError: wp is not defined\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.5.2:6:5)\n    at /wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.5.2:43:1",
        "trace": null,
        "code": null
    }
]
Resource errors None

Smartling

Page screenshot: Smartling
URL /wp-admin/admin.php?page=smartling-submissions-page
Aspect menu-item
HTTP status 200
Load time 0.377 s
Memory usage 3.85 MiB
JS errors
[
    {
        "message": "ReferenceError: wp is not defined\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.5.2:6:5)\n    at /wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.5.2:43:1",
        "trace": null,
        "code": null
    }
]
Resource errors None

Smartling → Taxonomy links

Page screenshot: Smartling → Taxonomy links
URL /wp-admin/admin.php?page=smartling_taxonomy_links
Aspect menu-item
HTTP status 200
Load time 0.375 s
Memory usage N/A
JS errors
[
    {
        "message": "ReferenceError: wp is not defined\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.5.2:6:5)\n    at /wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.5.2:43:1",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'hasFilter')\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.5.2:6:18)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/smartling-connector/js/smartling-connector-admin.js?ver=3.5.2:335:5)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Smartling → Test run

Page screenshot: Smartling → Test run
URL /wp-admin/admin.php?page=smartling_test_run
Aspect menu-item
HTTP status 200
Load time 0.308 s
Memory usage N/A
JS errors
[
    {
        "message": "ReferenceError: wp is not defined\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.5.2:6:5)\n    at /wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.5.2:43:1",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'hasFilter')\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.5.2:6:18)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/smartling-connector/js/smartling-connector-admin.js?ver=3.5.2:335:5)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Smartling → Settings

Page screenshot: Smartling → Settings
URL /wp-admin/admin.php?page=smartling_configuration_profile_list
Aspect menu-item
HTTP status 200
Load time 0.357 s
Memory usage 4.07 MiB
JS errors
[
    {
        "message": "ReferenceError: wp is not defined\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.5.2:6:5)\n    at /wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.5.2:43:1",
        "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.223 s
Memory usage 3.66 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.363 s0.464 s+0.101 s2.82 MiB3.8 MiB+ 997.44 KiB
/wp-admin/edit.php0.232 s0.404 s+0.172 s2.85 MiB3.82 MiB+ 996.58 KiB
/wp-admin/post-new.php0.799 s0.872 s+0.073 s5.21 MiB6.17 MiB+ 981.53 KiB
/wp-admin/upload.php0.830 s0.674 s-0.156 s2.77 MiB3.66 MiB+ 911.65 KiB
/wp-admin/options-writing.php0.248 s0.393 s+0.145 s2.76 MiB3.64 MiB+ 902.93 KiB
/wp-admin/media-new.php0.315 s0.443 s+0.128 s2.74 MiB3.64 MiB+ 923.47 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.396 s+0.194 s2.76 MiB3.73 MiB+ 992.7 KiB
/wp-admin/post-new.php?post_type=page0.712 s0.803 s+0.091 s5.21 MiB6.16 MiB+ 977.12 KiB
/wp-admin/options-discussion.php0.223 s0.483 s+0.260 s2.75 MiB3.64 MiB+ 913.34 KiB
/wp-admin/edit-comments.php0.284 s0.396 s+0.112 s2.78 MiB3.73 MiB+ 973.92 KiB
/0.305 s0.224 s-0.081 s3.13 MiB3.66 MiB+ 548.19 KiB
Average 0.410 s0.505 s+0.094 s3.25 MiB4.15 MiB+ 919.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
Language % Lines of code Comment lines Files
PHP84.2%89,64328,772926
JavaScript5.1%5,42039817
Markdown4.2%4,450033
YAML3.9%4,11011843
JSON1.8%1,923020
CSS0.4%46153
XML0.2%226512
XSD0.2%19702
PO File0.1%54191
HTML0.0%1501
Dockerfile0.0%1001
make0.0%901
Total 106,518 29,317 1,060

PHP Code Analysis | More results »

Lines of code 68,754
Total complexity 12,823
Median class complexity 7.0
Median method complexity 1.0
Most complex class Smartling\Vendor\Symfony\Component\DependencyInjection\Dumper\PhpDumper
Most complex function Smartling\Vendor\Symfony\Polyfill\Intl\Idn\Resources\unidata\DisallowedRanges::inRange()
Classes 755
Methods 5,000
Functions 132

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 5

Options wp_options 2

Capabilities 3

PHP Error Log 24 lines

[11-Oct-2023 10:40:13 UTC] PHP Fatal error:  Uncaught Smartling\Exception\SmartlingDirectRunRuntimeException: Direct run detected. Required run as Wordpress plugin. in /wp-content/plugins/smartling-connector/inc/Smartling/Helpers/SiteHelper.php:52
Stack trace:
#0 /wp-content/plugins/smartling-connector/inc/Smartling/Helpers/SiteHelper.php(106): Smartling\Helpers\SiteHelper->directRunDetectedFallback()
#1 /wp-content/plugins/smartling-connector/inc/Smartling/WP/Controller/TaxonomyLinksController.php(86): Smartling\Helpers\SiteHelper->getCurrentSiteId()
#2 /wp-content/plugins/smartling-connector/inc/Smartling/WP/Controller/TaxonomyLinksController.php(33): Smartling\WP\Controller\TaxonomyLinksController->getBlogs()
#3 /wp-content/plugins/smartling-connector/inc/Smartling/WP/Controller/TaxonomyLinksController.php(79): Smartling\WP\Controller\TaxonomyLinksController->buildViewData()
#4 /wp-includes/class-wp-hook.php(310): Smartling\WP\Controller\TaxonomyLinksController->taxonomyLinksWidget()
#5 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-admin/admin.php(259): do_action()
#8 {main}
  thrown in /wp-content/plugins/smartling-connector/inc/Smartling/Helpers/SiteHelper.php on line 52
[11-Oct-2023 10:40:14 UTC] PHP Fatal error:  Uncaught Smartling\Exception\SmartlingDirectRunRuntimeException: Direct run detected. Required run as Wordpress plugin. in /wp-content/plugins/smartling-connector/inc/Smartling/Helpers/SiteHelper.php:52
Stack trace:
#0 /wp-content/plugins/smartling-connector/inc/Smartling/Helpers/SiteHelper.php(106): Smartling\Helpers\SiteHelper->directRunDetectedFallback()
#1 /wp-content/plugins/smartling-connector/inc/Smartling/WP/Controller/TestRunController.php(150): Smartling\Helpers\SiteHelper->getCurrentSiteId()
#2 /wp-content/plugins/smartling-connector/inc/Smartling/WP/Controller/TestRunController.php(86): Smartling\WP\Controller\TestRunController->getBlogs()
#3 /wp-content/plugins/smartling-connector/inc/Smartling/WP/Controller/TestRunController.php(137): Smartling\WP\Controller\TestRunController->buildViewData()
#4 /wp-includes/class-wp-hook.php(310): Smartling\WP\Controller\TestRunController->widget()
#5 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-admin/admin.php(259): do_action()
#8 {main}
  thrown in /wp-content/plugins/smartling-connector/inc/Smartling/Helpers/SiteHelper.php on line 52
See also: All tests for this plugin