To Top 2.2.2

Does To Top work with WordPress 5.8.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: 39.2 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.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=0aecf64a4c
Aspect after-activation
HTTP status 200
Load time 0.415 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.768 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.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.434 s
Memory usage 3.07 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.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.364 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.356 s0.378 s+0.022 s3.08 MiB3.12 MiB+ 39.28 KiB
/wp-admin/edit.php0.201 s0.207 s+0.006 s3.11 MiB3.21 MiB+ 103.28 KiB
/wp-admin/post-new.php1.577 s1.086 s-0.491 s5.27 MiB5.31 MiB+ 44.2 KiB
/wp-admin/upload.php0.584 s0.343 s-0.241 s3.03 MiB3.07 MiB+ 38.88 KiB
/wp-admin/options-writing.php0.235 s0.145 s-0.090 s3.02 MiB3.04 MiB+ 22.13 KiB
/wp-admin/media-new.php0.260 s0.184 s-0.076 s3.01 MiB3.04 MiB+ 39.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.204 s+0.001 s3.04 MiB3.08 MiB+ 39.23 KiB
/wp-admin/post-new.php?post_type=page0.919 s0.919 s+0.000 s5.26 MiB5.3 MiB+ 39.79 KiB
/wp-admin/options-discussion.php0.243 s0.321 s+0.078 s3 MiB3.04 MiB+ 38.63 KiB
/wp-admin/edit-comments.php0.219 s0.226 s+0.007 s3.04 MiB3.08 MiB+ 38.17 KiB
/0.321 s0.228 s-0.093 s2.96 MiB2.94 MiB- 11.43 KiB
Average 0.465 s0.386 s-0.080 s3.44 MiB3.48 MiB+ 39.2 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
PHP35.0%1,63872117
CSS25.5%1,194475
SVG25.4%1,18932
JavaScript8.7%407244
PO File5.4%2531341
Total 4,681 929 29

PHP Code Analysis | More results »

Lines of code 1,248
Total complexity 185
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