WP Smart Preloader 1.15.2

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

Summary

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

Memory usage: 26.01 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.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=e1890fdea2
Aspect after-activation
HTTP status 200
Load time 0.214 s
Memory usage 3.51 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.352 s
Memory usage 3.5 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.205 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.316 s0.262 s-0.054 s3.47 MiB3.49 MiB+ 20.14 KiB
/wp-admin/edit.php0.194 s0.187 s-0.007 s3.54 MiB3.56 MiB+ 19.83 KiB
/wp-admin/post-new.php0.654 s0.539 s-0.115 s5.75 MiB5.78 MiB+ 24.02 KiB
/wp-admin/upload.php0.484 s0.343 s-0.141 s3.49 MiB3.49 MiB+ 2.42 KiB
/wp-admin/options-writing.php0.185 s0.161 s-0.024 s3.41 MiB3.47 MiB+ 65.23 KiB
/wp-admin/media-new.php0.219 s0.268 s+0.049 s3.4 MiB3.47 MiB+ 78.61 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.178 s-0.001 s3.47 MiB3.5 MiB+ 25.28 KiB
/wp-admin/post-new.php?post_type=page0.514 s0.507 s-0.007 s5.75 MiB5.77 MiB+ 19.61 KiB
/wp-admin/options-discussion.php0.217 s0.217 s+0.000 s3.41 MiB3.47 MiB+ 66.91 KiB
/wp-admin/edit-comments.php0.201 s0.192 s-0.009 s3.49 MiB3.49 MiB+ 2.41 KiB
/0.271 s0.187 s-0.084 s3.45 MiB3.42 MiB- 38.35 KiB
Average 0.312 s0.276 s-0.036 s3.88 MiB3.9 MiB+ 26.01 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

[11-Sep-2024 18:16:39 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://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6085
[11-Sep-2024 18:16:39 UTC] PHP Warning:  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
[11-Sep-2024 18:16:47 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://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6085
[11-Sep-2024 18:16:47 UTC] PHP Warning:  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