To Top 2.4

Does To Top work with WordPress 6.0 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: 40.03 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.0
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=72afabeb19
Aspect after-activation
HTTP status 200
Load time 0.452 s
Memory usage 3.73 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.816 s
Memory usage 3.83 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.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.430 s
Memory usage 3.72 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.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.382 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.382 s0.505 s+0.123 s3.72 MiB3.76 MiB+ 39.59 KiB
/wp-admin/edit.php0.191 s0.295 s+0.104 s3.75 MiB3.79 MiB+ 38.88 KiB
/wp-admin/post-new.php1.008 s1.330 s+0.322 s5.53 MiB5.58 MiB+ 47.89 KiB
/wp-admin/upload.php0.466 s0.583 s+0.117 s3.68 MiB3.72 MiB+ 39.2 KiB
/wp-admin/options-writing.php0.288 s0.200 s-0.088 s3.61 MiB3.66 MiB+ 43.45 KiB
/wp-admin/media-new.php0.327 s0.218 s-0.109 s3.66 MiB3.7 MiB+ 39.37 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.224 s+0.039 s3.68 MiB3.72 MiB+ 39.54 KiB
/wp-admin/post-new.php?post_type=page0.921 s1.508 s+0.587 s5.53 MiB5.57 MiB+ 39.48 KiB
/wp-admin/options-discussion.php0.244 s0.362 s+0.118 s3.59 MiB3.63 MiB+ 38.95 KiB
/wp-admin/edit-comments.php0.233 s0.282 s+0.049 s3.69 MiB3.73 MiB+ 38.48 KiB
/0.320 s0.246 s-0.074 s3.55 MiB3.58 MiB+ 35.52 KiB
Average 0.415 s0.523 s+0.108 s4 MiB4.04 MiB+ 40.03 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%423244
PO File5.5%2571361
Total 4,708 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