crouton 3.17.10

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

Summary

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

Memory usage: -3.36 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 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=crouton%2Fcrouton.php&plugin_status=all&paged=1&s&_wpnonce=34c640199b
Aspect after-activation
HTTP status 200
Load time 0.356 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.842 s
Memory usage 3.39 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.201 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.550 s0.435 s-0.115 s3.38 MiB3.39 MiB+ 8.3 KiB
/wp-admin/edit.php0.279 s0.290 s+0.011 s3.41 MiB3.41 MiB+ 8.3 KiB
/wp-admin/post-new.php0.933 s0.757 s-0.176 s5.46 MiB5.47 MiB+ 12.67 KiB
/wp-admin/upload.php0.638 s0.624 s-0.014 s3.32 MiB3.31 MiB- 9.1 KiB
/wp-admin/options-writing.php0.265 s0.244 s-0.021 s3.32 MiB3.3 MiB- 16.52 KiB
/wp-admin/media-new.php0.426 s0.315 s-0.111 s3.29 MiB3.3 MiB+ 3.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.271 s0.258 s-0.013 s3.31 MiB3.32 MiB+ 8.26 KiB
/wp-admin/post-new.php?post_type=page0.699 s0.630 s-0.069 s5.45 MiB5.46 MiB+ 12.26 KiB
/wp-admin/options-discussion.php0.408 s0.316 s-0.092 s3.3 MiB3.29 MiB- 8.61 KiB
/wp-admin/edit-comments.php0.308 s0.309 s+0.001 s3.33 MiB3.33 MiB- 9.11 KiB
/0.401 s0.229 s-0.172 s3.36 MiB3.31 MiB- 46.52 KiB
Average 0.471 s0.401 s-0.070 s3.72 MiB3.72 MiB- 3.36 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
Language % Lines of code Comment lines Files
JavaScript88.6%24,1762,79023
CSS5.8%1,580715
PHP4.9%1,325703
Handlebars0.7%18107
HTML0.0%1301
Markdown0.0%1301
Total 27,288 2,931 40

PHP Code Analysis | More results »

Lines of code 1,023
Total complexity 192
Median class complexity 192.0
Median method complexity 2.0
Most complex class Crouton
Most complex function Crouton::adminOptionsPage()
Classes 1
Methods 32
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 16 lines

[11-Dec-2023 01:24:29 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/crouton/crouton.php on line 710
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
[11-Dec-2023 01:24:29 UTC] PHP Warning:  Undefined array key "theme" in /wp-content/plugins/crouton/crouton.php on line 791
See also: All tests for this plugin, How to Hide the "crouton" Admin Menu