To Top 2.2.1

Does To Top work with WordPress 5.8 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: 37.17 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.8
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=841558f6b6
Aspect after-activation
HTTP status 200
Load time 0.270 s
Memory usage 3.08 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.781 s
Memory usage 3.17 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.1: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.368 s
Memory usage 3.06 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.1: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.228 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.355 s0.269 s-0.086 s3.08 MiB3.12 MiB+ 37.61 KiB
/wp-admin/edit.php0.188 s0.209 s+0.021 s3.11 MiB3.21 MiB+ 101.61 KiB
/wp-admin/post-new.php1.111 s1.138 s+0.027 s5.27 MiB5.31 MiB+ 41.8 KiB
/wp-admin/upload.php0.585 s0.340 s-0.245 s3.03 MiB3.06 MiB+ 36.48 KiB
/wp-admin/options-writing.php0.188 s0.158 s-0.030 s3.02 MiB3.04 MiB+ 20.45 KiB
/wp-admin/media-new.php0.267 s0.168 s-0.099 s3.01 MiB3.04 MiB+ 36.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.196 s-0.019 s3.04 MiB3.07 MiB+ 37.55 KiB
/wp-admin/post-new.php?post_type=page0.943 s1.093 s+0.150 s5.26 MiB5.29 MiB+ 37.38 KiB
/wp-admin/options-discussion.php0.242 s0.287 s+0.045 s3 MiB3.04 MiB+ 36.96 KiB
/wp-admin/edit-comments.php0.225 s0.214 s-0.011 s3.04 MiB3.08 MiB+ 36.5 KiB
/0.274 s0.230 s-0.044 s2.96 MiB2.94 MiB- 14.15 KiB
Average 0.418 s0.391 s-0.026 s3.44 MiB3.47 MiB+ 37.17 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