OptiPic images optimization 1.30.0

Does OptiPic images optimization work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 3.71 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 100+
WordPress.org page https://wordpress.org/plugins/optipic/
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=optipic%2Foptipic.php&plugin_status=all&paged=1&s&_wpnonce=aa2af76a68
Aspect after-activation
HTTP status 200
Load time 0.624 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

OptiPic

Page screenshot: OptiPic
URL /wp-admin/admin.php?page=optipic_main_menu
Aspect menu-item
HTTP status 200
Load time 0.413 s
Memory usage 3.5 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.337 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.345 s0.294 s-0.051 s3.51 MiB3.52 MiB+ 13.71 KiB
/wp-admin/edit.php0.208 s0.191 s-0.017 s3.57 MiB3.58 MiB+ 13.75 KiB
/wp-admin/post-new.php0.833 s0.664 s-0.169 s6.06 MiB6.08 MiB+ 17.34 KiB
/wp-admin/upload.php0.778 s0.521 s-0.257 s3.52 MiB3.52 MiB- 3.66 KiB
/wp-admin/options-writing.php0.229 s0.207 s-0.022 s3.5 MiB3.5 MiB+ 344 bytes
/wp-admin/media-new.php0.261 s0.248 s-0.013 s3.49 MiB3.5 MiB+ 8.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.203 s+0.010 s3.5 MiB3.52 MiB+ 19.2 KiB
/wp-admin/post-new.php?post_type=page0.611 s0.604 s-0.007 s6.05 MiB6.06 MiB+ 12.87 KiB
/wp-admin/options-discussion.php0.466 s0.243 s-0.223 s3.5 MiB3.5 MiB- 3.16 KiB
/wp-admin/edit-comments.php0.264 s0.424 s+0.160 s3.52 MiB3.52 MiB- 3.66 KiB
/0.307 s0.301 s-0.006 s3.5 MiB3.47 MiB- 34.4 KiB
Average 0.409 s0.355 s-0.054 s3.98 MiB3.98 MiB+ 3.71 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
PO File
Language % Lines of code Comment lines Files
PHP91.9%8052416
PO File8.1%7151
Total 876 246 7

PHP Code Analysis | More results »

Lines of code 693
Total complexity 184
Median class complexity 140.0
Median method complexity 3.0
Most complex class optipic\cdn\ImgUrlConverter
Most complex function optipic\cdn\ImgUrlConverter::convertHtml()
Classes 1
Methods 29
Functions 16

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 1 lines

[05-May-2025 19:22:51 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/optipic/includes/settings.php on line 16
See also: All tests for this plugin, How to Hide the "OptiPic" Admin Menu