A faster website! (aka defer.js) 2.0.0-beta.16

Does "An efficient lazy loader (defer.js)" work with WordPress 5.6.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 94.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 version5.6.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/shins-pageload-magic/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=shins-pageload-magic%2Fshins-pageload-magic.php&plugin_status=all&paged=1&s&_wpnonce=b5c8f8784d
Aspect after-activation
HTTP status 200
Load time 0.736 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

My defer.js

Page screenshot: My defer.js
URL /wp-admin/admin.php?page=defer-wordpress
Aspect menu-item
HTTP status 200
Load time 0.685 s
Memory usage 3.08 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.236 s
Memory usage 2.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.263 s0.287 s+0.024 s2.79 MiB2.85 MiB+ 55.32 KiB
/wp-admin/edit.php0.181 s0.207 s+0.026 s2.84 MiB2.89 MiB+ 55.32 KiB
/wp-admin/post-new.php0.865 s1.135 s+0.270 s4.93 MiB5.06 MiB+ 131.82 KiB
/wp-admin/upload.php0.535 s0.325 s-0.210 s2.67 MiB2.78 MiB+ 118.59 KiB
/wp-admin/options-writing.php0.234 s0.147 s-0.087 s2.68 MiB2.77 MiB+ 86.2 KiB
/wp-admin/media-new.php0.210 s0.161 s-0.049 s2.65 MiB2.76 MiB+ 118.4 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.195 s+0.019 s2.68 MiB2.8 MiB+ 119.3 KiB
/wp-admin/post-new.php?post_type=page1.146 s0.795 s-0.351 s4.92 MiB5.05 MiB+ 127.41 KiB
/wp-admin/options-discussion.php0.315 s0.271 s-0.044 s2.65 MiB2.76 MiB+ 118.71 KiB
/wp-admin/edit-comments.php0.224 s0.219 s-0.005 s2.75 MiB2.8 MiB+ 54.25 KiB
/0.713 s0.318 s-0.395 s2.61 MiB2.67 MiB+ 54.22 KiB
Average 0.442 s0.369 s-0.073 s3.11 MiB3.2 MiB+ 94.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
Language % Lines of code Comment lines Files
PHP91.9%85459213
CSS7.6%7142
JavaScript0.4%4272
Total 929 623 17

PHP Code Analysis | More results »

Lines of code 433
Total complexity 78
Median class complexity 6.0
Median method complexity 1.0
Most complex class Defer_Wordpress_Admin
Most complex function defer_wp_instance()
Classes 7
Methods 35
Functions 6

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 27

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "My defer.js" Admin Menu