Page scroll to id 1.7.6

Does Page scroll to id work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 144.36 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 version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/page-scroll-to-id/
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=page-scroll-to-id%2Fmalihu-pagescroll2id.php&plugin_status=all&paged=1&s&_wpnonce=6facfc5207
Aspect after-activation
HTTP status 200
Load time 0.252 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

Settings → Page scroll to id

Page screenshot: Settings → Page scroll to id
URL /wp-admin/options-general.php?page=page-scroll-to-id
Aspect menu-item
HTTP status 200
Load time 0.283 s
Memory usage 3.22 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.245 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.473 s
Memory usage 5.1 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.280 s0.251 s-0.029 s3.05 MiB3.2 MiB+ 158.25 KiB
/wp-admin/edit.php0.183 s0.189 s+0.006 s3.07 MiB3.23 MiB+ 158.25 KiB
/wp-admin/post-new.php0.781 s0.635 s-0.146 s4.97 MiB5.13 MiB+ 163.84 KiB
/wp-admin/upload.php0.555 s0.298 s-0.257 s2.99 MiB3.13 MiB+ 140.84 KiB
/wp-admin/options-writing.php0.173 s0.266 s+0.093 s2.99 MiB3.11 MiB+ 127.43 KiB
/wp-admin/media-new.php0.270 s0.275 s+0.005 s2.97 MiB3.12 MiB+ 153.03 KiB
/wp-admin/edit-tags.php?taxonomy=category0.245 s0.175 s-0.070 s2.98 MiB3.14 MiB+ 158.2 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.618 s+0.012 s4.96 MiB5.12 MiB+ 159.43 KiB
/wp-admin/options-discussion.php0.220 s0.190 s-0.030 s2.98 MiB3.11 MiB+ 141.59 KiB
/wp-admin/edit-comments.php0.206 s0.204 s-0.002 s3 MiB3.14 MiB+ 140.84 KiB
/0.284 s0.223 s-0.061 s2.94 MiB3.03 MiB+ 86.24 KiB
Average 0.346 s0.302 s-0.044 s3.35 MiB3.5 MiB+ 144.36 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
JavaScript
Language % Lines of code Comment lines Files
PHP50.5%1,57616116
JavaScript41.9%1,3071646
CSS7.7%239223
Total 3,122 347 25

PHP Code Analysis | More results »

Lines of code 1,215
Total complexity 205
Median class complexity 9.5
Median method complexity 2.0
Most complex class malihuPageScroll2id
Most complex function malihuPageScroll2id::plugin_options_array()
Classes 4
Methods 42
Functions 0

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 3

Sidebar Widgets 1

ID Name
malihupagescroll2idwidgetPage scroll to id target

PHP Error Log 1 lines

[21-Dec-2022 00:10:28 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5835
See also: All tests for this plugin, How to Hide the "Page scroll to id" Admin Menu