OptiPic images optimization 1.25.0

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

Summary

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

Memory usage: 7.77 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=7f70aab552
Aspect after-activation
HTTP status 200
Load time 0.545 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.727 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.246 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.355 s0.332 s-0.023 s3.08 MiB3.09 MiB+ 11.19 KiB
/wp-admin/edit.php0.236 s0.233 s-0.003 s3.11 MiB3.12 MiB+ 11.19 KiB
/wp-admin/post-new.php1.031 s1.046 s+0.015 s5.27 MiB5.28 MiB+ 15.38 KiB
/wp-admin/upload.php0.451 s0.338 s-0.113 s3.03 MiB3.04 MiB+ 10.05 KiB
/wp-admin/options-writing.php0.192 s0.162 s-0.030 s3.02 MiB3.02 MiB- 5.97 KiB
/wp-admin/media-new.php0.526 s0.228 s-0.298 s3.01 MiB3.02 MiB+ 10.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.212 s0.211 s-0.001 s3.04 MiB3.05 MiB+ 11.13 KiB
/wp-admin/post-new.php?post_type=page0.675 s0.848 s+0.173 s5.26 MiB5.27 MiB+ 10.96 KiB
/wp-admin/options-discussion.php0.351 s0.342 s-0.009 s3 MiB3.01 MiB+ 10.54 KiB
/wp-admin/edit-comments.php0.266 s0.259 s-0.007 s3.04 MiB3.05 MiB+ 10.08 KiB
/0.327 s0.248 s-0.079 s2.96 MiB2.95 MiB- 9.31 KiB
Average 0.420 s0.386 s-0.034 s3.44 MiB3.45 MiB+ 7.77 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.0%7152316
PO File9.0%7151
Total 786 236 7

PHP Code Analysis | More results »

Lines of code 610
Total complexity 155
Median class complexity 120.0
Median method complexity 3.0
Most complex class optipic\cdn\ImgUrlConverter
Most complex function optipic\cdn\ImgUrlConverter::convertHtml()
Classes 1
Methods 25
Functions 14

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

[13-Dec-2021 06:38:49 UTC] PHP Notice:  Undefined index: cdn_autoreplace_active in /wp-content/plugins/optipic/includes/settings.php on line 24
[13-Dec-2021 06:38:49 UTC] PHP Notice:  Undefined index: cdn_site_id in /wp-content/plugins/optipic/includes/settings.php on line 31
[13-Dec-2021 06:38:49 UTC] PHP Notice:  Undefined index: exclusions_url in /wp-content/plugins/optipic/includes/settings.php on line 50
[13-Dec-2021 06:38:49 UTC] PHP Notice:  Undefined index: whitelist_img_urls in /wp-content/plugins/optipic/includes/settings.php on line 59
[13-Dec-2021 06:38:49 UTC] PHP Notice:  Undefined index: cdn_domain in /wp-content/plugins/optipic/includes/settings.php on line 82
[13-Dec-2021 06:38:49 UTC] PHP Notice:  Undefined variable: siteId in /wp-content/plugins/optipic/includes/settings.php on line 98
[13-Dec-2021 06:38:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[13-Dec-2021 06:38:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[13-Dec-2021 06:38:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[13-Dec-2021 06:38:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[13-Dec-2021 06:38:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[13-Dec-2021 06:38:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[13-Dec-2021 06:38:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[13-Dec-2021 06:38:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[13-Dec-2021 06:38:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[13-Dec-2021 06:38:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[13-Dec-2021 06:38:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:56 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
[13-Dec-2021 06:38:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 44
See also: All tests for this plugin, How to Hide the "OptiPic" Admin Menu