Show On Scroll 0.1.0

Does Show On Scroll work with WordPress 6.4.3 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 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.4.3
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=eada056fe2
Aspect after-activation
HTTP status 200
Load time 0.416 s
Memory usage 3.32 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.246 s
Memory usage 3.3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.374 s0.350 s-0.024 s3.38 MiB3.38 MiB+ 2.59 KiB
/wp-admin/edit.php0.206 s0.216 s+0.010 s3.41 MiB3.41 MiB+ 2.59 KiB
/wp-admin/upload.php0.723 s0.362 s-0.361 s3.32 MiB3.31 MiB- 14.59 KiB
/wp-admin/options-writing.php0.239 s0.197 s-0.042 s3.32 MiB3.3 MiB- 22.01 KiB
/wp-admin/media-new.php0.310 s0.259 s-0.051 s3.29 MiB3.29 MiB- 2.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.229 s0.188 s-0.041 s3.31 MiB3.32 MiB+ 2.77 KiB
/wp-admin/options-discussion.php0.370 s0.230 s-0.140 s3.3 MiB3.29 MiB- 14.1 KiB
/wp-admin/edit-comments.php0.245 s0.223 s-0.022 s3.34 MiB3.32 MiB- 14.6 KiB
/0.296 s0.176 s-0.120 s3.36 MiB3.31 MiB- 48.24 KiB
Average 0.332 s0.245 s-0.088 s3.34 MiB3.32 MiB- 12 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

[17-Feb-2024 01:54:04 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(1863): 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(1193): WP_REST_Posts_Controller->get_item()
#6 /wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request()
#7 /wp-includes/rest-api.php(551): WP_REST_Server->dispatch()
#8 /wp-includes/rest-api.php(2918): 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
[17-Feb-2024 01:54:05 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(1863): 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(1193): WP_REST_Posts_Controller->get_item()
#6 /wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request()
#7 /wp-includes/rest-api.php(551): WP_REST_Server->dispatch()
#8 /wp-includes/rest-api.php(2918): 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