Page scroll to id 1.7.3

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

Summary

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

Memory usage: 154.3 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.8
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=131343926f
Aspect after-activation
HTTP status 200
Load time 0.451 s
Memory usage 3.2 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.299 s
Memory usage 3.25 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.231 s
Memory usage 3 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.898 s
Memory usage 4.63 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:2802)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:4104)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:2802)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:4104)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:2802)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:4104)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.305 s0.261 s-0.044 s3.08 MiB3.24 MiB+ 159.41 KiB
/wp-admin/edit.php0.205 s0.215 s+0.010 s3.11 MiB3.33 MiB+ 223.41 KiB
/wp-admin/post-new.php1.218 s1.131 s-0.087 s5.27 MiB5.43 MiB+ 171.35 KiB
/wp-admin/upload.php0.578 s0.304 s-0.274 s3.03 MiB3.18 MiB+ 158.28 KiB
/wp-admin/options-writing.php0.149 s0.144 s-0.005 s3.02 MiB3.16 MiB+ 142.2 KiB
/wp-admin/media-new.php0.250 s0.365 s+0.115 s3.01 MiB3.16 MiB+ 158.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.229 s+0.038 s3.04 MiB3.19 MiB+ 159.36 KiB
/wp-admin/post-new.php?post_type=page0.777 s0.846 s+0.069 s5.26 MiB5.42 MiB+ 166.94 KiB
/wp-admin/options-discussion.php0.398 s0.311 s-0.087 s3 MiB3.16 MiB+ 159.02 KiB
/wp-admin/edit-comments.php0.207 s0.226 s+0.019 s3.04 MiB3.2 MiB+ 158.27 KiB
/0.303 s0.251 s-0.052 s2.96 MiB3 MiB+ 40.61 KiB
Average 0.416 s0.389 s-0.027 s3.44 MiB3.59 MiB+ 154.3 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.4%1,55215715
JavaScript41.8%1,2871616
CSS7.8%239223
Total 3,078 340 24

PHP Code Analysis | More results »

Lines of code 1,204
Total complexity 203
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

[20-Jul-2021 21:02:20 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
[20-Jul-2021 21:02:30 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 5535
See also: All tests for this plugin, How to Hide the "Page scroll to id" Admin Menu