WP Smart Preloader 1.13

Does WP Smart Preloader work with WordPress 5.7 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: 12.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.7
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=f1e55e9efd
Aspect after-activation
HTTP status 200
Load time 0.422 s
Memory usage 2.73 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.238 s
Memory usage 2.69 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.252 s
Memory usage 2.66 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.277 s0.294 s+0.017 s2.82 MiB2.84 MiB+ 22.79 KiB
/wp-admin/edit.php0.191 s0.212 s+0.021 s2.86 MiB2.89 MiB+ 22.79 KiB
/wp-admin/post-new.php0.932 s1.003 s+0.071 s5.02 MiB5.06 MiB+ 35.29 KiB
/wp-admin/upload.php0.512 s0.303 s-0.209 s2.7 MiB2.71 MiB+ 17.66 KiB
/wp-admin/options-writing.php0.275 s0.165 s-0.110 s2.71 MiB2.7 MiB- 14.43 KiB
/wp-admin/media-new.php0.233 s0.299 s+0.066 s2.67 MiB2.69 MiB+ 17.83 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.227 s+0.027 s2.77 MiB2.79 MiB+ 18.73 KiB
/wp-admin/post-new.php?post_type=page1.263 s0.795 s-0.468 s5.01 MiB5.03 MiB+ 26.88 KiB
/wp-admin/options-discussion.php0.318 s0.296 s-0.022 s2.67 MiB2.69 MiB+ 18.39 KiB
/wp-admin/edit-comments.php0.256 s0.238 s-0.018 s2.78 MiB2.79 MiB+ 17.64 KiB
/0.706 s0.210 s-0.496 s2.71 MiB2.66 MiB- 46.11 KiB
Average 0.469 s0.367 s-0.102 s3.16 MiB3.17 MiB+ 12.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.

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

[10-Mar-2021 14:22:49 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 5313
[10-Mar-2021 14:22:49 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
[10-Mar-2021 14:22:56 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 5313
[10-Mar-2021 14:22:56 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