Click to top 1.2.12

Does Click to top work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 133.38 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.121 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/click-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=click-to-top%2Fclick-to-top.php&plugin_status=all&paged=1&s&_wpnonce=47b92a72c2
Aspect after-activation
HTTP status 200
Load time 0.769 s
Memory usage 2.89 MiB
JS errors None
Resource errors None

Settings → Click to top

Page screenshot: Settings → Click to top
URL /wp-admin/options-general.php?page=click-to-top.php
Aspect menu-item
HTTP status 200
Load time 0.369 s
Memory usage 2.85 MiB
JS errors None
Resource errors None

Settings → Click to top → Scroll style Settings

Page screenshot: Settings → Click to top → Scroll style Settings
URL /wp-admin/options-general.php?page=click-to-top.php
Aspect menu-item-tab
HTTP status 200
Load time 0.301 s
Memory usage 2.85 MiB
JS errors None
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.354 s
Memory usage 2.68 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.263 s0.546 s+0.283 s2.82 MiB2.93 MiB+ 114.65 KiB
/wp-admin/edit.php0.176 s0.366 s+0.190 s2.86 MiB2.97 MiB+ 106.01 KiB
/wp-admin/post-new.php0.930 s1.252 s+0.322 s5.02 MiB5.18 MiB+ 164.61 KiB
/wp-admin/upload.php0.498 s0.436 s-0.062 s2.7 MiB2.85 MiB+ 155.97 KiB
/wp-admin/options-writing.php0.249 s0.344 s+0.095 s2.71 MiB2.86 MiB+ 148.3 KiB
/wp-admin/media-new.php0.218 s0.331 s+0.113 s2.67 MiB2.85 MiB+ 179.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.368 s+0.182 s2.77 MiB2.89 MiB+ 121.25 KiB
/wp-admin/post-new.php?post_type=page1.210 s1.090 s-0.120 s5.01 MiB5.16 MiB+ 160.2 KiB
/wp-admin/options-discussion.php0.313 s0.473 s+0.160 s2.67 MiB2.85 MiB+ 181.43 KiB
/wp-admin/edit-comments.php0.221 s0.420 s+0.199 s2.78 MiB2.88 MiB+ 111.24 KiB
/0.299 s0.271 s-0.028 s2.65 MiB2.68 MiB+ 24.33 KiB
Average 0.415 s0.536 s+0.121 s3.15 MiB3.28 MiB+ 133.38 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.

CSS
PHP
SVG
Language % Lines of code Comment lines Files
CSS68.6%4,4061482
PHP15.0%9622314
SVG10.2%65501
JavaScript4.2%267933
PO File2.0%127541
JSON0.1%501
Total 6,422 526 12

PHP Code Analysis | More results »

Lines of code 987
Total complexity 156
Median class complexity 53.0
Median method complexity 2.0
Most complex class WeDevs_Settings_API
Most complex function click_to_top_all_css_options()
Classes 2
Methods 36
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.

Options wp_options 2

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Click to top" Admin Menu