To Top 3.2

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.76 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=2b259319b3
Aspect after-activation
HTTP status 200
Load time 0.556 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.177 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.2: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.960 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.2: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.300 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.805 s0.753 s-0.052 s3.92 MiB3.97 MiB+ 44.65 KiB
/wp-admin/edit.php0.550 s0.546 s-0.004 s3.98 MiB4.02 MiB+ 44.65 KiB
/wp-admin/post-new.php2.274 s1.788 s-0.486 s6.56 MiB6.6 MiB+ 48.94 KiB
/wp-admin/upload.php0.742 s1.025 s+0.283 s3.89 MiB3.91 MiB+ 26.82 KiB
/wp-admin/options-writing.php0.539 s0.584 s+0.045 s3.86 MiB3.89 MiB+ 30.5 KiB
/wp-admin/media-new.php0.989 s0.887 s-0.102 s3.85 MiB3.89 MiB+ 38.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.537 s0.544 s+0.007 s3.86 MiB3.91 MiB+ 43.87 KiB
/wp-admin/post-new.php?post_type=page1.451 s1.777 s+0.326 s6.55 MiB6.59 MiB+ 44.15 KiB
/wp-admin/options-discussion.php0.639 s0.566 s-0.073 s3.86 MiB3.89 MiB+ 27 KiB
/wp-admin/edit-comments.php0.546 s0.537 s-0.009 s3.88 MiB3.91 MiB+ 27.18 KiB
/0.301 s0.212 s-0.089 s4.23 MiB4.27 MiB+ 38.91 KiB
Average 0.852 s0.838 s-0.014 s4.4 MiB4.44 MiB+ 37.76 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.4%1,74965717
CSS24.8%1,194475
SVG24.7%1,18932
JavaScript8.8%422244
PO File5.3%2571391
Total 4,811 870 29

PHP Code Analysis | More results »

Lines of code 1,340
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 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