To Top 2.5.4

Does To Top work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
2JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 38.99 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 60,000+
WordPress.org page https://wordpress.org/plugins/to-top/
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=to-top%2Fto-top.php&plugin_status=all&paged=1&s&_wpnonce=c97c98b346
Aspect after-activation
HTTP status 200
Load time 0.308 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

To Top Settings

Page screenshot: To Top Settings
URL /wp-admin/admin.php?page=to-top
Aspect menu-item
HTTP status 200
Load time 0.720 s
Memory usage 3.58 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...) is not a function\n    at /wp-content/plugins/to-top/admin/js/to-top-admin.js?ver=2.5.4:216:3",
        "trace": null,
        "code": null
    }
]
Resource errors None

To Top Settings → Features

Page screenshot: To Top Settings → Features
URL /wp-admin/admin.php?page=to-top
Aspect menu-item-tab
HTTP status 200
Load time 0.413 s
Memory usage 3.55 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...) is not a function\n    at /wp-content/plugins/to-top/admin/js/to-top-admin.js?ver=2.5.4:216:3",
        "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.285 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.347 s0.424 s+0.077 s3.51 MiB3.55 MiB+ 45.66 KiB
/wp-admin/edit.php0.200 s0.231 s+0.031 s3.57 MiB3.62 MiB+ 44.53 KiB
/wp-admin/post-new.php0.766 s0.905 s+0.139 s6.06 MiB6.11 MiB+ 49.19 KiB
/wp-admin/upload.php0.615 s0.389 s-0.226 s3.52 MiB3.55 MiB+ 27.34 KiB
/wp-admin/options-writing.php0.230 s0.207 s-0.023 s3.5 MiB3.53 MiB+ 31.43 KiB
/wp-admin/media-new.php0.334 s0.207 s-0.127 s3.49 MiB3.53 MiB+ 39.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.217 s0.189 s-0.028 s3.5 MiB3.55 MiB+ 50.39 KiB
/wp-admin/post-new.php?post_type=page0.610 s0.791 s+0.181 s6.05 MiB6.09 MiB+ 44.71 KiB
/wp-admin/options-discussion.php0.435 s0.273 s-0.162 s3.5 MiB3.53 MiB+ 27.93 KiB
/wp-admin/edit-comments.php0.235 s0.223 s-0.012 s3.52 MiB3.55 MiB+ 27.59 KiB
/0.307 s0.213 s-0.094 s3.43 MiB3.47 MiB+ 40.52 KiB
Average 0.391 s0.368 s-0.022 s3.97 MiB4.01 MiB+ 38.99 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
CSS
SVG
JavaScript
Language % Lines of code Comment lines Files
PHP34.9%1,64572217
CSS25.4%1,194475
SVG25.3%1,18932
JavaScript9.0%422244
PO File5.5%2571361
Total 4,707 932 29

PHP Code Analysis | More results »

Lines of code 1,254
Total complexity 187
Median class complexity 7.0
Median method complexity 1.0
Most complex class To_Top_Admin
Most complex function CatchThemesThemePlugin::handle_load_themes_request()
Classes 9
Methods 49
Functions 9

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 "To Top Settings" Admin Menu