To Top 2.2

Does To Top work with WordPress 5.6.2 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: 30.89 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 version5.6.2
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=36716ff7b1
Aspect after-activation
HTTP status 200
Load time 0.233 s
Memory usage 2.72 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.752 s
Memory usage 2.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.2:216:1",
        "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.365 s
Memory usage 2.71 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.2:216: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.332 s
Memory usage 2.65 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.271 s0.345 s+0.074 s2.79 MiB2.83 MiB+ 37.98 KiB
/wp-admin/edit.php0.178 s0.197 s+0.019 s2.84 MiB2.87 MiB+ 37.98 KiB
/wp-admin/post-new.php0.869 s0.914 s+0.045 s4.94 MiB4.99 MiB+ 49.8 KiB
/wp-admin/upload.php0.506 s0.286 s-0.220 s2.67 MiB2.71 MiB+ 36.48 KiB
/wp-admin/options-writing.php0.154 s0.158 s+0.004 s2.69 MiB2.69 MiB+ 4.82 KiB
/wp-admin/media-new.php0.225 s0.155 s-0.070 s2.65 MiB2.68 MiB+ 37.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.211 s0.177 s-0.034 s2.68 MiB2.72 MiB+ 37.92 KiB
/wp-admin/post-new.php?post_type=page1.214 s0.673 s-0.541 s4.93 MiB4.97 MiB+ 45.38 KiB
/wp-admin/options-discussion.php0.318 s0.299 s-0.019 s2.65 MiB2.69 MiB+ 37.33 KiB
/wp-admin/edit-comments.php0.220 s0.210 s-0.010 s2.75 MiB2.79 MiB+ 36.87 KiB
/0.249 s0.208 s-0.041 s2.67 MiB2.65 MiB- 21.77 KiB
Average 0.401 s0.329 s-0.072 s3.11 MiB3.14 MiB+ 30.89 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,63072017
CSS25.6%1,194475
SVG25.4%1,18932
JavaScript8.7%407244
PO File5.4%2531341
Total 4,673 928 29

PHP Code Analysis | More results »

Lines of code 1,240
Total complexity 183
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 48
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