WP Smart Preloader 1.15

Does WP Smart Preloader work with WordPress 6.1.1 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: 20.31 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.1.1
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=6a379818fd
Aspect after-activation
HTTP status 200
Load time 0.258 s
Memory usage 3.45 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.286 s
Memory usage 3.4 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.249 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.403 s0.270 s-0.133 s3.54 MiB3.57 MiB+ 24.43 KiB
/wp-admin/edit.php0.183 s0.205 s+0.022 s3.57 MiB3.6 MiB+ 24.43 KiB
/wp-admin/post-new.php0.800 s0.972 s+0.172 s5.46 MiB5.49 MiB+ 23.12 KiB
/wp-admin/upload.php0.329 s0.297 s-0.032 s3.41 MiB3.43 MiB+ 23.27 KiB
/wp-admin/options-writing.php0.262 s0.159 s-0.103 s3.4 MiB3.41 MiB+ 5.67 KiB
/wp-admin/media-new.php0.345 s0.207 s-0.138 s3.39 MiB3.41 MiB+ 23.44 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.187 s-0.013 s3.48 MiB3.5 MiB+ 24.34 KiB
/wp-admin/post-new.php?post_type=page0.617 s0.772 s+0.155 s5.46 MiB5.47 MiB+ 18.67 KiB
/wp-admin/options-discussion.php0.240 s0.329 s+0.089 s3.38 MiB3.41 MiB+ 24 KiB
/wp-admin/edit-comments.php0.225 s0.229 s+0.004 s3.48 MiB3.5 MiB+ 23.25 KiB
/0.276 s0.231 s-0.045 s3.41 MiB3.42 MiB+ 8.77 KiB
Average 0.353 s0.351 s-0.002 s3.82 MiB3.84 MiB+ 20.31 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.

User Metadata wp_usermeta 1

PHP Error Log 4 lines

[16-Nov-2022 18:03:11 UTC] PHP Notice:  Function 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 5835
[16-Nov-2022 18:03:11 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
[16-Nov-2022 18:03:18 UTC] PHP Notice:  Function 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 5835
[16-Nov-2022 18:03:19 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