JCH Optimize 3.1.0

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

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

Environment
WordPress version6.0.3
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=1945367297
Aspect after-activation
HTTP status 200
Load time 0.469 s
Memory usage 4.45 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.655 s
Memory usage 5.54 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.265 s
Memory usage 4.96 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.236 s
Memory usage 5.21 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.501 s
Memory usage 5.14 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.1.0:35:17)\n    at callShowInputs (/wp-content/plugins/jch-optimize/media/js/pagecache-form-control.js?ver=3.1.0:27:9)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/jch-optimize/media/js/pagecache-form-control.js?ver=3.1.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.295 s
Memory usage 5.03 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.307 s
Memory usage 4.3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.309 s0.309 s+0.000 s3.73 MiB4.5 MiB+ 783.36 KiB
/wp-admin/edit.php0.176 s0.244 s+0.068 s3.76 MiB4.51 MiB+ 767.3 KiB
/wp-admin/post-new.php0.739 s1.470 s+0.731 s5.55 MiB6.4 MiB+ 863.22 KiB
/wp-admin/upload.php0.397 s0.710 s+0.313 s3.69 MiB4.47 MiB+ 798.54 KiB
/wp-admin/options-writing.php0.148 s0.236 s+0.088 s3.62 MiB4.34 MiB+ 730.48 KiB
/wp-admin/media-new.php0.422 s0.272 s-0.150 s3.67 MiB4.4 MiB+ 750.74 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.223 s+0.032 s3.69 MiB4.44 MiB+ 767.96 KiB
/wp-admin/post-new.php?post_type=page1.048 s0.708 s-0.340 s5.55 MiB6.39 MiB+ 855.15 KiB
/wp-admin/options-discussion.php0.232 s0.411 s+0.179 s3.6 MiB4.35 MiB+ 767.37 KiB
/wp-admin/edit-comments.php0.215 s0.294 s+0.079 s3.7 MiB4.45 MiB+ 766.55 KiB
/0.270 s0.256 s-0.014 s3.62 MiB4.3 MiB+ 700.41 KiB
Average 0.377 s0.467 s+0.090 s4.02 MiB4.78 MiB+ 777.37 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.7%12,2471,44318
PHP41.3%10,3944,105117
CSS4.2%1,054905
Blade3.1%773287
PO File2.3%5783211
Markdown0.2%5302
JSON0.2%5001
HTML0.0%784
Total 25,156 5,995 155

PHP Code Analysis | More results »

Lines of code 10,434
Total complexity 2,115
Median class complexity 13.0
Median method complexity 1.0
Most complex class JchOptimize\Html\Renderer\Setting
Most complex function JchOptimize\Core\Html\Callbacks\LazyLoad::processMatches()
Classes 98
Methods 802
Functions 5

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