To Top 3.1

Does To Top work with WordPress 7.0 and PHP 8.1.12? 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.87 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 version7.0
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=920d832fb8
Aspect after-activation
HTTP status 200
Load time 0.841 s
Memory usage 3.92 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 1.042 s
Memory usage 3.97 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...) is not a function\n    at /wp-content/plugins/to-top/admin/js/to-top-admin.js?ver=3.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.733 s
Memory usage 3.91 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...) is not a function\n    at /wp-content/plugins/to-top/admin/js/to-top-admin.js?ver=3.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.257 s
Memory usage 4.26 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.606 s0.607 s+0.001 s3.92 MiB3.97 MiB+ 44.76 KiB
/wp-admin/edit.php0.515 s0.520 s+0.005 s3.98 MiB4.03 MiB+ 44.76 KiB
/wp-admin/post-new.php2.005 s1.696 s-0.309 s6.56 MiB6.6 MiB+ 49.05 KiB
/wp-admin/upload.php0.715 s0.681 s-0.034 s3.89 MiB3.91 MiB+ 26.93 KiB
/wp-admin/options-writing.php0.533 s0.675 s+0.142 s3.86 MiB3.89 MiB+ 30.61 KiB
/wp-admin/media-new.php0.582 s0.586 s+0.004 s3.85 MiB3.89 MiB+ 38.8 KiB
/wp-admin/edit-tags.php?taxonomy=category0.490 s0.528 s+0.038 s3.86 MiB3.91 MiB+ 43.98 KiB
/wp-admin/post-new.php?post_type=page1.872 s1.895 s+0.023 s6.55 MiB6.59 MiB+ 44.26 KiB
/wp-admin/options-discussion.php0.779 s0.600 s-0.179 s3.86 MiB3.89 MiB+ 27.11 KiB
/wp-admin/edit-comments.php0.540 s0.513 s-0.027 s3.88 MiB3.91 MiB+ 27.29 KiB
/0.305 s0.208 s-0.097 s4.23 MiB4.27 MiB+ 39.02 KiB
Average 0.813 s0.774 s-0.039 s4.4 MiB4.44 MiB+ 37.87 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
PHP36.3%1,74365517
CSS24.8%1,194475
SVG24.7%1,18932
JavaScript8.8%422244
PO File5.3%2571391
Total 4,805 868 29

PHP Code Analysis | More results »

Lines of code 1,334
Total complexity 182
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