crouton 3.18.0

Does crouton work with WordPress 6.4.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: -1.02 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.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/crouton/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=crouton%2Fcrouton.php&plugin_status=all&paged=1&s&_wpnonce=534e387970
Aspect after-activation
HTTP status 200
Load time 0.451 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

Settings → crouton

Page screenshot: Settings → crouton
URL /wp-admin/options-general.php?page=crouton.php
Aspect menu-item
HTTP status 200
Load time 0.843 s
Memory usage 3.39 MiB
JS errors None
Resource errors None

Settings → crouton → Crouton UI

Page screenshot: Settings → crouton → Crouton UI
URL /wp-admin/options-general.php?page=crouton.php
Aspect menu-item-tab
HTTP status 200
Load time 0.526 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

Settings → crouton → Map

Page screenshot: Settings → crouton → Map
URL /wp-admin/options-general.php?page=crouton.php
Aspect menu-item-tab
HTTP status 200
Load time 0.580 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

Settings → crouton → Templates

Page screenshot: Settings → crouton → Templates
URL /wp-admin/options-general.php?page=crouton.php
Aspect menu-item-tab
HTTP status 200
Load time 0.546 s
Memory usage 3.32 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.266 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.415 s0.475 s+0.060 s3.38 MiB3.39 MiB+ 10.6 KiB
/wp-admin/edit.php0.237 s0.246 s+0.009 s3.41 MiB3.42 MiB+ 10.6 KiB
/wp-admin/post-new.php0.939 s1.015 s+0.076 s5.46 MiB5.47 MiB+ 14.97 KiB
/wp-admin/upload.php0.595 s0.629 s+0.034 s3.32 MiB3.32 MiB- 6.8 KiB
/wp-admin/options-writing.php0.250 s0.235 s-0.015 s3.32 MiB3.3 MiB- 14.22 KiB
/wp-admin/media-new.php0.363 s0.300 s-0.063 s3.29 MiB3.3 MiB+ 5.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.224 s0.209 s-0.015 s3.31 MiB3.32 MiB+ 10.55 KiB
/wp-admin/post-new.php?post_type=page0.616 s0.660 s+0.044 s5.45 MiB5.46 MiB+ 14.55 KiB
/wp-admin/options-discussion.php0.410 s0.365 s-0.045 s3.3 MiB3.3 MiB- 6.31 KiB
/wp-admin/edit-comments.php0.269 s0.451 s+0.182 s3.34 MiB3.33 MiB- 6.81 KiB
/0.335 s0.224 s-0.111 s3.36 MiB3.31 MiB- 43.76 KiB
Average 0.423 s0.437 s+0.014 s3.72 MiB3.72 MiB- 1.02 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.

JavaScript
CSS
Language % Lines of code Comment lines Files
JavaScript85.9%28,2873,21229
CSS8.1%2,6531099
PHP5.2%1,698695
Handlebars0.8%25309
HTML0.0%1301
Markdown0.0%1301
Total 32,917 3,390 54

PHP Code Analysis | More results »

Lines of code 1,407
Total complexity 259
Median class complexity 129.5
Median method complexity 2.0
Most complex class Crouton
Most complex function Crouton::adminOptionsPage()
Classes 2
Methods 44
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.

Options wp_options 1

PHP Error Log 4 lines

[04-Jan-2024 18:43:45 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/crouton/crouton.php on line 810
[04-Jan-2024 18:43:47 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/crouton/crouton.php on line 810
[04-Jan-2024 18:43:49 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/crouton/crouton.php on line 810
[04-Jan-2024 18:43:51 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/crouton/crouton.php on line 810
See also: All tests for this plugin, How to Hide the "crouton" Admin Menu