Show On Scroll 0.1.0

Does Show On Scroll work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: -12.07 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.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/show-on-scroll/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=show-on-scroll%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=03eead3508
Aspect after-activation
HTTP status 200
Load time 0.392 s
Memory usage 3.38 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.224 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.351 s0.334 s-0.017 s3.43 MiB3.44 MiB+ 2.59 KiB
/wp-admin/edit.php0.197 s0.186 s-0.011 s3.46 MiB3.46 MiB+ 2.59 KiB
/wp-admin/upload.php0.634 s0.329 s-0.305 s3.38 MiB3.36 MiB- 14.59 KiB
/wp-admin/options-writing.php0.217 s0.170 s-0.047 s3.37 MiB3.35 MiB- 22.63 KiB
/wp-admin/media-new.php0.272 s0.227 s-0.045 s3.35 MiB3.35 MiB- 2.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.189 s+0.013 s3.37 MiB3.37 MiB+ 2.77 KiB
/wp-admin/options-discussion.php0.377 s0.213 s-0.164 s3.36 MiB3.34 MiB- 14.1 KiB
/wp-admin/edit-comments.php0.273 s0.206 s-0.067 s3.39 MiB3.38 MiB- 14.6 KiB
/0.307 s0.170 s-0.137 s3.42 MiB3.37 MiB- 48.24 KiB
Average 0.312 s0.225 s-0.087 s3.39 MiB3.38 MiB- 12.07 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.

JavaScript
PHP
Language % Lines of code Comment lines Files
JavaScript71.5%13871
PHP28.5%55161
Total 193 23 2

PHP Code Analysis | More results »

Lines of code 55
Total complexity 11
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function show_on_scroll_filter()
Classes 0
Methods 0
Functions 3

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 34 lines

[27-Apr-2024 19:55:34 UTC] PHP Fatal error:  Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in /wp-content/plugins/show-on-scroll/index.php:51
Stack trace:
#0 /wp-content/plugins/show-on-scroll/index.php(51): DOMDocument->loadHTML()
#1 /wp-includes/class-wp-hook.php(324): show_on_scroll_filter()
#2 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1865): apply_filters()
#4 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
#5 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Posts_Controller->get_item()
#6 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#7 /wp-includes/rest-api.php(555): WP_REST_Server->dispatch()
#8 /wp-includes/rest-api.php(2922): rest_do_request()
#9 [internal function]: rest_preload_api_request()
#10 /wp-includes/block-editor.php(753): array_reduce()
#11 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#12 /wp-admin/post-new.php(72): require('...')
#13 {main}
  thrown in /wp-content/plugins/show-on-scroll/index.php on line 51
[27-Apr-2024 19:55:35 UTC] PHP Fatal error:  Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in /wp-content/plugins/show-on-scroll/index.php:51
Stack trace:
#0 /wp-content/plugins/show-on-scroll/index.php(51): DOMDocument->loadHTML()
#1 /wp-includes/class-wp-hook.php(324): show_on_scroll_filter()
#2 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1865): apply_filters()
#4 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
#5 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Posts_Controller->get_item()
#6 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#7 /wp-includes/rest-api.php(555): WP_REST_Server->dispatch()
#8 /wp-includes/rest-api.php(2922): rest_do_request()
#9 [internal function]: rest_preload_api_request()
#10 /wp-includes/block-editor.php(753): array_reduce()
#11 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#12 /wp-admin/post-new.php(72): require('...')
#13 {main}
  thrown in /wp-content/plugins/show-on-scroll/index.php on line 51
See also: All tests for this plugin