OptiPic images optimization 1.27.0

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

Summary

Errors
6PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 8.43 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 version5.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=b3496aa713
Aspect after-activation
HTTP status 200
Load time 0.854 s
Memory usage 3.05 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.400 s
Memory usage 3.06 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.260 s
Memory usage 2.95 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.266 s0.229 s-0.037 s3.08 MiB3.09 MiB+ 11.84 KiB
/wp-admin/edit.php0.154 s0.164 s+0.010 s3.11 MiB3.12 MiB+ 11.84 KiB
/wp-admin/post-new.php0.637 s0.776 s+0.139 s5.27 MiB5.28 MiB+ 16.03 KiB
/wp-admin/upload.php0.314 s0.255 s-0.059 s3.03 MiB3.04 MiB+ 10.71 KiB
/wp-admin/options-writing.php0.121 s0.120 s-0.001 s3.02 MiB3.02 MiB- 5.31 KiB
/wp-admin/media-new.php0.376 s0.161 s-0.215 s3.01 MiB3.02 MiB+ 10.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.156 s0.145 s-0.011 s3.04 MiB3.05 MiB+ 11.79 KiB
/wp-admin/post-new.php?post_type=page0.551 s0.672 s+0.121 s5.26 MiB5.27 MiB+ 11.62 KiB
/wp-admin/options-discussion.php0.199 s0.226 s+0.027 s3 MiB3.01 MiB+ 11.2 KiB
/wp-admin/edit-comments.php0.173 s0.178 s+0.005 s3.04 MiB3.05 MiB+ 10.73 KiB
/0.344 s0.265 s-0.079 s2.96 MiB2.95 MiB- 8.66 KiB
Average 0.299 s0.290 s-0.009 s3.44 MiB3.45 MiB+ 8.43 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%7512366
PO File8.6%7151
Total 822 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 6 lines

[04-Jan-2022 20:05:38 UTC] PHP Notice:  Undefined index: cdn_autoreplace_active in /wp-content/plugins/optipic/includes/settings.php on line 24
[04-Jan-2022 20:05:38 UTC] PHP Notice:  Undefined index: cdn_site_id in /wp-content/plugins/optipic/includes/settings.php on line 31
[04-Jan-2022 20:05:38 UTC] PHP Notice:  Undefined index: exclusions_url in /wp-content/plugins/optipic/includes/settings.php on line 50
[04-Jan-2022 20:05:38 UTC] PHP Notice:  Undefined index: whitelist_img_urls in /wp-content/plugins/optipic/includes/settings.php on line 59
[04-Jan-2022 20:05:38 UTC] PHP Notice:  Undefined index: cdn_domain in /wp-content/plugins/optipic/includes/settings.php on line 82
[04-Jan-2022 20:05:38 UTC] PHP Notice:  Undefined variable: siteId in /wp-content/plugins/optipic/includes/settings.php on line 98
See also: All tests for this plugin, How to Hide the "OptiPic" Admin Menu