Tock Widget 1.1

Does Tock Widget work with WordPress 6.5.2 and PHP 8.1.12? 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: -21.79 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.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 500+
WordPress.org page https://wordpress.org/plugins/tock-widget/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=tock-widget%2Ftock-plugin.php&plugin_status=all&paged=1&s&_wpnonce=99c3273000
Aspect after-activation
HTTP status 200
Load time 0.279 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Tools → Tock widget

Page screenshot: Tools → Tock widget
URL /wp-admin/tools.php?page=tock-widget%2Fincludes%2Ftock-admin-page.php
Requested URL /wp-admin/tools.php?page=tock-widget/includes/tock-admin-page.php
Aspect menu-item
HTTP status 200
Load time 0.197 s
Memory usage 3.37 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 3.37 MiB
JS errors
[
    {
        "message": "Error: Widget running locally, but domain is not pointed to -localhost or to -staging\n    at Function.t.init (https://www.exploretock.com/tock.js:2:88590)\n    at Function.t.callMethod (https://www.exploretock.com/tock.js:2:94189)\n    at https://www.exploretock.com/tock.js:2:94333\n    at v (https://www.exploretock.com/tock.js:2:94536)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.387 s0.322 s-0.065 s3.44 MiB3.44 MiB+ 6.25 KiB
/wp-admin/edit.php0.224 s0.204 s-0.020 s3.46 MiB3.47 MiB+ 6.25 KiB
/wp-admin/post-new.php0.971 s0.697 s-0.274 s5.59 MiB5.55 MiB- 45.98 KiB
/wp-admin/upload.php0.631 s0.433 s-0.198 s3.38 MiB3.37 MiB- 11.16 KiB
/wp-admin/options-writing.php0.213 s0.217 s+0.004 s3.37 MiB3.35 MiB- 19.2 KiB
/wp-admin/media-new.php0.295 s0.238 s-0.057 s3.35 MiB3.35 MiB+ 1.03 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.213 s+0.023 s3.37 MiB3.37 MiB+ 6.2 KiB
/wp-admin/post-new.php?post_type=page0.562 s0.597 s+0.035 s5.59 MiB5.47 MiB- 114.35 KiB
/wp-admin/options-discussion.php0.253 s0.446 s+0.193 s3.36 MiB3.35 MiB- 10.66 KiB
/wp-admin/edit-comments.php0.517 s0.239 s-0.278 s3.39 MiB3.38 MiB- 11.16 KiB
/0.371 s0.245 s-0.126 s3.42 MiB3.37 MiB- 46.91 KiB
Average 0.419 s0.350 s-0.069 s3.79 MiB3.77 MiB- 21.79 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
PHP76.7%69233
JavaScript23.3%21241
Total 90 47 4

PHP Code Analysis | More results »

Lines of code 44
Total complexity 4
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function hook_tock_widget_js_to_head()
Classes 0
Methods 0
Functions 4

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.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Tock widget" Admin Menu