crouton 3.18.12

Does crouton work with WordPress 6.5.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.41 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.5.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=da00358f64
Aspect after-activation
HTTP status 200
Load time 0.280 s
Memory usage 3.39 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.810 s
Memory usage 3.45 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.507 s
Memory usage 3.37 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.546 s
Memory usage 3.37 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.484 s
Memory usage 3.37 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.313 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.373 s0.439 s+0.066 s3.44 MiB3.45 MiB+ 10.63 KiB
/wp-admin/edit.php0.210 s0.213 s+0.003 s3.46 MiB3.47 MiB+ 10.63 KiB
/wp-admin/post-new.php0.962 s1.009 s+0.047 s5.59 MiB5.61 MiB+ 15 KiB
/wp-admin/upload.php0.560 s0.443 s-0.117 s3.38 MiB3.37 MiB- 6.77 KiB
/wp-admin/options-writing.php0.242 s0.215 s-0.027 s3.37 MiB3.36 MiB- 14.81 KiB
/wp-admin/media-new.php0.306 s0.358 s+0.052 s3.35 MiB3.36 MiB+ 5.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.201 s-0.002 s3.37 MiB3.38 MiB+ 10.59 KiB
/wp-admin/post-new.php?post_type=page0.558 s0.653 s+0.095 s5.59 MiB5.6 MiB+ 10.59 KiB
/wp-admin/options-discussion.php0.311 s0.309 s-0.002 s3.36 MiB3.35 MiB- 6.28 KiB
/wp-admin/edit-comments.php0.264 s0.237 s-0.027 s3.39 MiB3.38 MiB- 6.78 KiB
/0.339 s0.224 s-0.115 s3.42 MiB3.37 MiB- 43.73 KiB
Average 0.393 s0.391 s-0.002 s3.79 MiB3.79 MiB- 1.41 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,3713,21229
CSS8.1%2,6601099
PHP5.2%1,721705
Handlebars0.8%25309
HTML0.0%1301
Markdown0.0%1301
Total 33,031 3,391 54

PHP Code Analysis | More results »

Lines of code 1,432
Total complexity 271
Median class complexity 135.5
Median method complexity 3.0
Most complex class Crouton
Most complex function Crouton::adminOptionsPage()
Classes 2
Methods 43
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

[14-Apr-2024 10:23:43 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/crouton/crouton.php on line 817
[14-Apr-2024 10:23:44 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/crouton/crouton.php on line 817
[14-Apr-2024 10:23:46 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/crouton/crouton.php on line 817
[14-Apr-2024 10:23:48 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/crouton/crouton.php on line 817
See also: All tests for this plugin, How to Hide the "crouton" Admin Menu