To Top 2.5.1

Does To Top work with WordPress 6.1.1 and PHP 7.4.8? 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: 33.61 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.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=6487639094
Aspect after-activation
HTTP status 200
Load time 0.250 s
Memory usage 3.53 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.718 s
Memory usage 3.56 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.1: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.370 s
Memory usage 3.45 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.1: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.337 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.276 s0.352 s+0.076 s3.54 MiB3.58 MiB+ 40.5 KiB
/wp-admin/edit.php0.178 s0.207 s+0.029 s3.57 MiB3.61 MiB+ 40.5 KiB
/wp-admin/post-new.php0.825 s0.850 s+0.025 s5.46 MiB5.51 MiB+ 44.8 KiB
/wp-admin/upload.php0.716 s0.251 s-0.465 s3.41 MiB3.45 MiB+ 40.07 KiB
/wp-admin/options-writing.php0.166 s0.157 s-0.009 s3.4 MiB3.42 MiB+ 21.8 KiB
/wp-admin/media-new.php0.283 s0.160 s-0.123 s3.38 MiB3.42 MiB+ 40.24 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.197 s+0.013 s3.48 MiB3.52 MiB+ 40.41 KiB
/wp-admin/post-new.php?post_type=page0.597 s0.732 s+0.135 s5.46 MiB5.5 MiB+ 40.35 KiB
/wp-admin/options-discussion.php0.209 s0.297 s+0.088 s3.38 MiB3.42 MiB+ 39.82 KiB
/wp-admin/edit-comments.php0.209 s0.218 s+0.009 s3.48 MiB3.52 MiB+ 39.36 KiB
/0.276 s0.297 s+0.021 s3.46 MiB3.45 MiB- 18.11 KiB
Average 0.356 s0.338 s-0.018 s3.82 MiB3.85 MiB+ 33.61 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.

User Metadata wp_usermeta 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "To Top Settings" Admin Menu