JCH Optimize 4.2.1

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 344.59 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 5,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=2bc1e2df99
Aspect after-activation
HTTP status 200
Load time 0.406 s
Memory usage 3.83 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.667 s
Memory usage 4.2 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.275 s
Memory usage 3.98 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.227 s
Memory usage 4.15 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.294 s
Memory usage 4.27 MiB
JS errors None
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.238 s
Memory usage 4 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.195 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.350 s0.632 s+0.282 s3.51 MiB3.93 MiB+ 437.88 KiB
/wp-admin/edit.php0.206 s0.194 s-0.012 s3.57 MiB3.96 MiB+ 393.3 KiB
/wp-admin/post-new.php0.792 s0.924 s+0.132 s6.06 MiB6.44 MiB+ 389.58 KiB
/wp-admin/upload.php0.591 s0.346 s-0.245 s3.52 MiB3.82 MiB+ 304.85 KiB
/wp-admin/options-writing.php0.227 s0.179 s-0.048 s3.5 MiB3.8 MiB+ 308.87 KiB
/wp-admin/media-new.php0.350 s0.234 s-0.116 s3.49 MiB3.8 MiB+ 317.04 KiB
/wp-admin/edit-tags.php?taxonomy=category0.219 s0.173 s-0.046 s3.5 MiB3.83 MiB+ 328.1 KiB
/wp-admin/post-new.php?post_type=page0.618 s0.743 s+0.125 s6.05 MiB6.43 MiB+ 385.47 KiB
/wp-admin/options-discussion.php0.303 s0.289 s-0.014 s3.5 MiB3.8 MiB+ 305.38 KiB
/wp-admin/edit-comments.php0.413 s0.197 s-0.216 s3.52 MiB3.82 MiB+ 304.87 KiB
/0.293 s0.196 s-0.097 s3.43 MiB3.74 MiB+ 315.13 KiB
Average 0.397 s0.373 s-0.023 s3.97 MiB4.31 MiB+ 344.59 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.

PHP
Language % Lines of code Comment lines Files
PHP86.9%26,7618,460268
JavaScript7.5%2,31029214
CSS3.7%1,146815
PO File1.9%5703051
HTML0.0%1384
Total 30,800 9,146 292

PHP Code Analysis | More results »

Lines of code 25,807
Total complexity 4,508
Median class complexity 9.0
Median method complexity 1.0
Most complex class JchOptimize\Html\Renderer\Setting
Most complex function JchOptimize\Core\Html\Callbacks\LazyLoad::processMatches()
Classes 214
Methods 1,544
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