IC Lazy Load 1.0.1

Does IC Lazy Load work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: -1.5 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/ic-lazy-load/
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=ic-lazy-load%2Fic-lazy-load.php&plugin_status=all&paged=1&s&_wpnonce=b638bc030e
Aspect after-activation
HTTP status 200
Load time 0.384 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.181 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.350 s0.291 s-0.059 s3.43 MiB3.44 MiB+ 8.45 KiB
/wp-admin/edit.php0.197 s0.189 s-0.008 s3.46 MiB3.47 MiB+ 8.45 KiB
/wp-admin/upload.php0.622 s0.330 s-0.292 s3.38 MiB3.37 MiB- 8 KiB
/wp-admin/options-writing.php0.212 s0.164 s-0.048 s3.37 MiB3.36 MiB- 16.77 KiB
/wp-admin/media-new.php0.269 s0.227 s-0.042 s3.35 MiB3.35 MiB+ 4.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.172 s-0.005 s3.37 MiB3.38 MiB+ 8.63 KiB
/wp-admin/options-discussion.php0.349 s0.201 s-0.148 s3.36 MiB3.35 MiB- 8.24 KiB
/wp-admin/edit-comments.php0.241 s0.190 s-0.051 s3.39 MiB3.38 MiB- 8.74 KiB
/0.290 s0.137 s-0.153 s3.42 MiB
Average 0.301 s0.211 s-0.090 s3.39 MiB3.39 MiB- 1.5 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
SVG
CSS
Language % Lines of code Comment lines Files
PHP63.0%80443
SVG21.3%2701
CSS15.7%2001
Total 127 44 5

PHP Code Analysis | More results »

Lines of code 72
Total complexity 7
Median class complexity 7.0
Median method complexity 1.5
Most complex class ITCLAN_Lazy_Load
Most complex function ITCLAN_Lazy_Load::modify_image_attributes()
Classes 1
Methods 4
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.

No new entries found.

PHP Error Log 66 lines

[21-Apr-2024 01:39:07 UTC] PHP Fatal error:  Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in /wp-content/plugins/ic-lazy-load/inc/class-iclazyload.php:67
Stack trace:
#0 /wp-content/plugins/ic-lazy-load/inc/class-iclazyload.php(67): DOMDocument->loadHTML()
#1 /wp-includes/class-wp-hook.php(326): ITCLAN_Lazy_Load->modify_image_attributes()
#2 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /wp-includes/post-thumbnail-template.php(219): apply_filters()
#4 /wp-content/themes/twentyseventeen/template-parts/post/content.php(44): get_the_post_thumbnail()
#5 /wp-includes/template.php(812): require('...')
#6 /wp-includes/template.php(745): load_template()
#7 /wp-includes/general-template.php(206): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(47): get_template_part()
#9 /wp-includes/template-loader.php(106): include('...')
#10 /wp-blog-header.php(19): require_once('...')
#11 /index.php(17): require('...')
#12 {main}
  thrown in /wp-content/plugins/ic-lazy-load/inc/class-iclazyload.php on line 67
[21-Apr-2024 01:39:08 UTC] PHP Fatal error:  Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in /wp-content/plugins/ic-lazy-load/inc/class-iclazyload.php:67
Stack trace:
#0 /wp-content/plugins/ic-lazy-load/inc/class-iclazyload.php(67): DOMDocument->loadHTML()
#1 /wp-includes/class-wp-hook.php(324): ITCLAN_Lazy_Load->modify_image_attributes()
#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/ic-lazy-load/inc/class-iclazyload.php on line 67
[21-Apr-2024 01:39:09 UTC] PHP Fatal error:  Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in /wp-content/plugins/ic-lazy-load/inc/class-iclazyload.php:67
Stack trace:
#0 /wp-content/plugins/ic-lazy-load/inc/class-iclazyload.php(67): DOMDocument->loadHTML()
#1 /wp-includes/class-wp-hook.php(324): ITCLAN_Lazy_Load->modify_image_attributes()
#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/ic-lazy-load/inc/class-iclazyload.php on line 67
[21-Apr-2024 01:39:10 UTC] PHP Fatal error:  Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in /wp-content/plugins/ic-lazy-load/inc/class-iclazyload.php:67
Stack trace:
#0 /wp-content/plugins/ic-lazy-load/inc/class-iclazyload.php(67): DOMDocument->loadHTML()
#1 /wp-includes/class-wp-hook.php(326): ITCLAN_Lazy_Load->modify_image_attributes()
#2 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /wp-includes/post-thumbnail-template.php(219): apply_filters()
#4 /wp-content/themes/twentyseventeen/template-parts/post/content.php(44): get_the_post_thumbnail()
#5 /wp-includes/template.php(812): require('...')
#6 /wp-includes/template.php(745): load_template()
#7 /wp-includes/general-template.php(206): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(47): get_template_part()
#9 /wp-includes/template-loader.php(106): include('...')
#10 /wp-blog-header.php(19): require_once('...')
#11 /index.php(17): require('...')
#12 {main}
  thrown in /wp-content/plugins/ic-lazy-load/inc/class-iclazyload.php on line 67
See also: All tests for this plugin