WP Smart Preloader 1.14

Does WP Smart Preloader work with WordPress 5.9.3 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 18.91 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.9.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/wp-smart-preloader/
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=wp-smart-preloader%2Fwp-preloader.php&plugin_status=all&paged=1&s&_wpnonce=341ae57aaf
Aspect after-activation
HTTP status 200
Load time 0.384 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

Settings → WP Smart Preloader

Page screenshot: Settings → WP Smart Preloader
URL /wp-admin/options-general.php?page=wsp-loader
Aspect menu-item
HTTP status 200
Load time 0.185 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.311 s
Memory usage 3.36 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.284 s-0.067 s3.37 MiB3.39 MiB+ 24.29 KiB
/wp-admin/edit.php0.176 s0.198 s+0.022 s3.4 MiB3.42 MiB+ 24.29 KiB
/wp-admin/post-new.php0.943 s1.078 s+0.135 s5.65 MiB5.68 MiB+ 22.98 KiB
/wp-admin/upload.php0.416 s0.315 s-0.101 s3.25 MiB3.28 MiB+ 31.16 KiB
/wp-admin/options-writing.php0.259 s0.144 s-0.115 s3.24 MiB3.26 MiB+ 14.95 KiB
/wp-admin/media-new.php0.263 s0.200 s-0.063 s3.23 MiB3.26 MiB+ 31.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.314 s+0.128 s3.27 MiB3.29 MiB+ 24.23 KiB
/wp-admin/post-new.php?post_type=page0.827 s1.114 s+0.287 s5.65 MiB5.67 MiB+ 18.56 KiB
/wp-admin/options-discussion.php0.208 s0.230 s+0.022 s3.22 MiB3.25 MiB+ 31.89 KiB
/wp-admin/edit-comments.php0.209 s0.213 s+0.004 s3.27 MiB3.29 MiB+ 23.14 KiB
/0.275 s0.226 s-0.049 s3.4 MiB3.36 MiB- 38.81 KiB
Average 0.374 s0.392 s+0.018 s3.72 MiB3.74 MiB+ 18.91 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.

CSS
PHP
JavaScript
Language % Lines of code Comment lines Files
CSS60.3%484403
PHP24.4%196763
JavaScript15.3%12313
Total 803 117 9

PHP Code Analysis | More results »

Lines of code 184
Total complexity 35
Median class complexity 35.0
Median method complexity 2.0
Most complex class WP_smart_preloader
Most complex function WP_smart_preloader::wsp_add_class_body()
Classes 1
Methods 17
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 4 lines

[06-Apr-2022 12:13:58 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. 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.7.0.) in /wp-includes/functions.php on line 5775
[06-Apr-2022 12:13:58 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-smart-preloader/inc/wsp-option_page.php on line 91
[06-Apr-2022 12:14:06 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. 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.7.0.) in /wp-includes/functions.php on line 5775
[06-Apr-2022 12:14:06 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-smart-preloader/inc/wsp-option_page.php on line 91
See also: All tests for this plugin, How to Hide the "WP Smart Preloader" Admin Menu