Page scroll to id 1.7.4

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

Summary

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

Memory usage: 174.47 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.9
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=a9082ebeec
Aspect after-activation
HTTP status 200
Load time 0.263 s
Memory usage 3.48 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.292 s
Memory usage 3.47 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.221 s
Memory usage 3.44 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.238 s
Memory usage 5.35 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.345 s0.216 s-0.129 s3.36 MiB3.52 MiB+ 159.48 KiB
/wp-admin/edit.php0.147 s0.149 s+0.002 s3.39 MiB3.55 MiB+ 158.77 KiB
/wp-admin/post-new.php0.682 s0.841 s+0.159 s6.14 MiB6.31 MiB+ 166.28 KiB
/wp-admin/upload.php0.496 s0.276 s-0.220 s3.24 MiB3.47 MiB+ 230.34 KiB
/wp-admin/options-writing.php0.282 s0.120 s-0.162 s3.24 MiB3.38 MiB+ 150.13 KiB
/wp-admin/media-new.php0.195 s0.156 s-0.039 s3.22 MiB3.45 MiB+ 230.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.157 s0.150 s-0.007 s3.25 MiB3.48 MiB+ 231.42 KiB
/wp-admin/post-new.php?post_type=page0.547 s0.575 s+0.028 s6.14 MiB6.3 MiB+ 161.87 KiB
/wp-admin/options-discussion.php0.178 s0.263 s+0.085 s3.22 MiB3.38 MiB+ 167.08 KiB
/wp-admin/edit-comments.php0.197 s0.159 s-0.038 s3.26 MiB3.48 MiB+ 222.33 KiB
/0.235 s0.176 s-0.059 s3.4 MiB3.44 MiB+ 40.96 KiB
Average 0.315 s0.280 s-0.035 s3.81 MiB3.98 MiB+ 174.47 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.6%1,56515815
JavaScript41.7%1,2881616
CSS7.7%239223
Total 3,092 341 24

PHP Code Analysis | More results »

Lines of code 1,217
Total complexity 208
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 2 lines

[26-Jan-2022 00:38:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/page-scroll-to-id/malihu-pagescroll2id.php on line 455
[26-Jan-2022 00:39:02 UTC] PHP Notice:  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 5768
See also: All tests for this plugin, How to Hide the "Page scroll to id" Admin Menu