crouton 3.20.1

Does crouton work with WordPress 6.6.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: 17.18 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.049 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 400+
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=6dca8517d3
Aspect after-activation
HTTP status 200
Load time 0.290 s
Memory usage 3.5 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.842 s
Memory usage 3.5 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.476 s
Memory usage 3.47 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.636 s
Memory usage 3.47 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.545 s
Memory usage 3.47 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.333 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.355 s0.503 s+0.148 s3.47 MiB3.48 MiB+ 10.63 KiB
/wp-admin/edit.php0.220 s0.220 s+0.000 s3.54 MiB3.55 MiB+ 10.63 KiB
/wp-admin/post-new.php0.821 s1.484 s+0.663 s5.75 MiB5.77 MiB+ 15 KiB
/wp-admin/upload.php0.575 s0.450 s-0.125 s3.49 MiB3.48 MiB- 6.77 KiB
/wp-admin/options-writing.php0.245 s0.301 s+0.056 s3.41 MiB3.47 MiB+ 56.03 KiB
/wp-admin/media-new.php0.259 s0.281 s+0.022 s3.4 MiB3.46 MiB+ 69.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.214 s-0.001 s3.47 MiB3.49 MiB+ 16.09 KiB
/wp-admin/post-new.php?post_type=page0.694 s0.784 s+0.090 s5.75 MiB5.76 MiB+ 10.59 KiB
/wp-admin/options-discussion.php0.236 s0.267 s+0.031 s3.41 MiB3.46 MiB+ 57.72 KiB
/wp-admin/edit-comments.php0.454 s0.222 s-0.232 s3.49 MiB3.48 MiB- 6.78 KiB
/0.373 s0.256 s-0.117 s3.45 MiB3.41 MiB- 43.55 KiB
Average 0.404 s0.453 s+0.049 s3.88 MiB3.89 MiB+ 17.18 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.7%28,6683,21229
CSS8.2%2,7321099
PHP5.3%1,760705
Handlebars0.8%25609
HTML0.0%1301
Markdown0.0%1301
Total 33,442 3,391 54

PHP Code Analysis | More results »

Lines of code 1,455
Total complexity 274
Median class complexity 137.0
Median method complexity 3.0
Most complex class Crouton
Most complex function Crouton::adminOptionsPage()
Classes 2
Methods 45
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

[22-Sep-2024 14:39:58 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/crouton/crouton.php on line 836
[22-Sep-2024 14:40:00 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/crouton/crouton.php on line 836
[22-Sep-2024 14:40:02 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/crouton/crouton.php on line 836
[22-Sep-2024 14:40:04 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/crouton/crouton.php on line 836
See also: All tests for this plugin, How to Hide the "Meeting Lists" Admin Menu