OptiPic images optimization 1.27.2

Does OptiPic images optimization work with WordPress 6.2 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: 7.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.2
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=5287061ec9
Aspect after-activation
HTTP status 200
Load time 0.603 s
Memory usage 3.02 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.451 s
Memory usage 3.04 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.288 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.280 s0.229 s-0.051 s3.07 MiB3.08 MiB+ 11.53 KiB
/wp-admin/edit.php0.188 s0.183 s-0.005 s3.1 MiB3.11 MiB+ 11.53 KiB
/wp-admin/post-new.php0.746 s0.889 s+0.143 s5.02 MiB5.03 MiB+ 15.1 KiB
/wp-admin/upload.php0.521 s0.303 s-0.218 s3.02 MiB3.01 MiB- 5.84 KiB
/wp-admin/options-writing.php0.143 s0.137 s-0.006 s3.01 MiB2.99 MiB- 19.08 KiB
/wp-admin/media-new.php0.260 s0.179 s-0.081 s2.99 MiB3 MiB+ 6.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.170 s-0.007 s3.01 MiB3.02 MiB+ 11.52 KiB
/wp-admin/post-new.php?post_type=page0.583 s0.699 s+0.116 s5.01 MiB5.02 MiB+ 10.69 KiB
/wp-admin/options-discussion.php0.215 s0.272 s+0.057 s3 MiB2.99 MiB- 5.34 KiB
/wp-admin/edit-comments.php0.183 s0.205 s+0.022 s3.03 MiB3.02 MiB- 5.8 KiB
/0.297 s0.287 s-0.010 s2.97 MiB3.02 MiB+ 46.66 KiB
Average 0.327 s0.323 s-0.004 s3.38 MiB3.39 MiB+ 7.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.

PHP
PO File
Language % Lines of code Comment lines Files
PHP91.4%7582366
PO File8.6%7151
Total 829 241 7

PHP Code Analysis | More results »

Lines of code 646
Total complexity 171
Median class complexity 127.0
Median method complexity 3.0
Most complex class optipic\cdn\ImgUrlConverter
Most complex function optipic\cdn\ImgUrlConverter::convertHtml()
Classes 1
Methods 26
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

[08-Apr-2023 09:17:03 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