JCH Optimize 3.2.2

Does JCH Optimize work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 266.69 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.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 6,000+
WordPress.org page https://wordpress.org/plugins/jch-optimize/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=jch-optimize%2Fjch-optimize.php&plugin_status=all&paged=1&s&_wpnonce=e6fd8186b5
Aspect after-activation
HTTP status 200
Load time 0.604 s
Memory usage 3.23 MiB
JS errors None
Resource errors None

Settings → JCH Optimize

Page screenshot: Settings → JCH Optimize
URL /wp-admin/options-general.php?page=jch_optimize
Aspect menu-item
HTTP status 200
Load time 0.645 s
Memory usage 4.24 MiB
JS errors
[
    {
        "message": "TypeError: \"use strict\" is not a function\n    at /wp-content/plugins/jch-optimize/media/css-element-queries/ResizeSensor.js?ver=3.2.2:8:1",
        "trace": null,
        "code": null
    }
]
Resource errors None

Settings → JCH Optimize → Optimize Images

Page screenshot: Settings → JCH Optimize → 
            Optimize Images
URL /wp-admin/options-general.php?page=jch_optimize&tab=optimizeimages
Aspect menu-item-tab
HTTP status 200
Load time 0.234 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Settings → JCH Optimize → Page Cache

Page screenshot: Settings → JCH Optimize → 
            Page Cache
URL /wp-admin/options-general.php?page=jch_optimize&tab=pagecache
Aspect menu-item-tab
HTTP status 200
Load time 0.286 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Settings → JCH Optimize → Configurations

Page screenshot: Settings → JCH Optimize → 
            Configurations
URL /wp-admin/options-general.php?page=jch_optimize&tab=configurations
Aspect menu-item-tab
HTTP status 200
Load time 0.297 s
Memory usage 3.68 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'value')\n    at showInputs (/wp-content/plugins/jch-optimize/media/js/pagecache-form-control.js?ver=3.2.2:35:15)\n    at callShowInputs (/wp-content/plugins/jch-optimize/media/js/pagecache-form-control.js?ver=3.2.2:27:5)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/jch-optimize/media/js/pagecache-form-control.js?ver=3.2.2:15:3)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Settings → JCH Optimize → Help

Page screenshot: Settings → JCH Optimize → 
            Help
URL /wp-admin/options-general.php?page=jch_optimize&tab=help
Aspect menu-item-tab
HTTP status 200
Load time 0.223 s
Memory usage 3.55 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.217 s
Memory usage 3.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.283 s0.231 s-0.052 s3.05 MiB3.3 MiB+ 260.74 KiB
/wp-admin/edit.php0.186 s0.349 s+0.163 s3.07 MiB3.38 MiB+ 308.7 KiB
/wp-admin/post-new.php0.775 s0.868 s+0.093 s4.97 MiB5.31 MiB+ 348.63 KiB
/wp-admin/upload.php0.562 s0.280 s-0.282 s2.99 MiB3.25 MiB+ 259.65 KiB
/wp-admin/options-writing.php0.148 s0.139 s-0.009 s2.99 MiB3.18 MiB+ 198.33 KiB
/wp-admin/media-new.php0.278 s0.226 s-0.052 s2.97 MiB3.19 MiB+ 223.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.231 s0.179 s-0.052 s2.98 MiB3.22 MiB+ 245.35 KiB
/wp-admin/post-new.php?post_type=page0.617 s0.597 s-0.020 s4.96 MiB5.3 MiB+ 344.55 KiB
/wp-admin/options-discussion.php0.195 s0.245 s+0.050 s2.97 MiB3.2 MiB+ 228.48 KiB
/wp-admin/edit-comments.php0.213 s0.177 s-0.036 s3 MiB3.22 MiB+ 227.67 KiB
/0.286 s0.201 s-0.085 s2.94 MiB3.22 MiB+ 287.57 KiB
Average 0.343 s0.317 s-0.026 s3.35 MiB3.61 MiB+ 266.69 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
PHP
Language % Lines of code Comment lines Files
JavaScript48.3%12,2551,44318
PHP41.8%10,6083,634127
CSS4.2%1,054905
Blade3.1%789287
PO File2.2%5703051
Markdown0.2%5302
JSON0.2%5001
HTML0.1%1485
Total 25,393 5,508 166

PHP Code Analysis | More results »

Lines of code 10,727
Total complexity 2,234
Median class complexity 11.0
Median method complexity 1.0
Most complex class JchOptimize\Html\Renderer\Setting
Most complex function JchOptimize\Core\Html\Callbacks\LazyLoad::processMatches()
Classes 105
Methods 834
Functions 4

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

The log file is empty.

See also: All tests for this plugin, How to Hide the "JCH Optimize" Admin Menu