JCH Optimize 3.2.0

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

Summary

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

Memory usage: 770.03 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 version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=e2988e8f6b
Aspect after-activation
HTTP status 200
Load time 0.333 s
Memory usage 4.17 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.718 s
Memory usage 5.29 MiB
JS errors None
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.207 s
Memory usage 4.74 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.219 s
Memory usage 5 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.281 s
Memory usage 4.94 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.0:35:17)\n    at callShowInputs (/wp-content/plugins/jch-optimize/media/js/pagecache-form-control.js?ver=3.2.0:27:9)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/jch-optimize/media/js/pagecache-form-control.js?ver=3.2.0:15:5)",
        "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.347 s
Memory usage 4.82 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 4.15 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.697 s0.283 s-0.414 s3.54 MiB4.3 MiB+ 779.83 KiB
/wp-admin/edit.php0.171 s0.299 s+0.128 s3.57 MiB4.32 MiB+ 763.77 KiB
/wp-admin/post-new.php0.987 s1.180 s+0.193 s5.46 MiB6.31 MiB+ 867.69 KiB
/wp-admin/upload.php0.533 s0.278 s-0.255 s3.41 MiB4.18 MiB+ 794.98 KiB
/wp-admin/options-writing.php0.154 s0.131 s-0.023 s3.4 MiB4.11 MiB+ 729.48 KiB
/wp-admin/media-new.php0.246 s0.199 s-0.047 s3.38 MiB4.11 MiB+ 747.18 KiB
/wp-admin/edit-tags.php?taxonomy=category0.284 s0.167 s-0.117 s3.48 MiB4.16 MiB+ 700.4 KiB
/wp-admin/post-new.php?post_type=page0.876 s0.878 s+0.002 s5.46 MiB6.3 MiB+ 863.59 KiB
/wp-admin/options-discussion.php0.193 s0.290 s+0.097 s3.38 MiB4.13 MiB+ 763.8 KiB
/wp-admin/edit-comments.php0.217 s0.221 s+0.004 s3.48 MiB4.23 MiB+ 762.99 KiB
/0.300 s0.202 s-0.098 s3.46 MiB4.15 MiB+ 696.66 KiB
Average 0.423 s0.375 s-0.048 s3.82 MiB4.57 MiB+ 770.03 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
JavaScript47.6%12,2471,44318
PHP42.3%10,8764,353127
CSS4.1%1,054905
Blade3.4%872378
PO File2.2%5703051
Markdown0.2%5302
JSON0.2%5001
HTML0.0%784
Total 25,729 6,236 166

PHP Code Analysis | More results »

Lines of code 21,848
Total complexity 4,440
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 210
Methods 1,660
Functions 8

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.

User Metadata wp_usermeta 1

PHP Error Log

The log file is empty.

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