OptiPic images optimization 1.13.0

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

Summary

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

Memory usage: 13.1 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.7
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=115b566911
Aspect after-activation
HTTP status 200
Load time 0.336 s
Memory usage 2.72 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.660 s
Memory usage 2.75 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.268 s
Memory usage 2.69 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.351 s0.267 s-0.084 s2.82 MiB2.83 MiB+ 15.19 KiB
/wp-admin/edit.php0.303 s0.187 s-0.116 s2.86 MiB2.88 MiB+ 15.19 KiB
/wp-admin/post-new.php1.002 s0.995 s-0.007 s5.02 MiB5.05 MiB+ 26.75 KiB
/wp-admin/upload.php0.455 s0.276 s-0.179 s2.7 MiB2.7 MiB+ 10.05 KiB
/wp-admin/options-writing.php0.238 s0.139 s-0.099 s2.71 MiB2.69 MiB- 21.97 KiB
/wp-admin/media-new.php0.205 s0.244 s+0.039 s2.67 MiB2.68 MiB+ 10.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.240 s+0.059 s2.77 MiB2.78 MiB+ 11.13 KiB
/wp-admin/post-new.php?post_type=page1.509 s0.598 s-0.911 s5.01 MiB5.03 MiB+ 18.34 KiB
/wp-admin/options-discussion.php0.298 s0.223 s-0.075 s2.67 MiB2.68 MiB+ 10.54 KiB
/wp-admin/edit-comments.php0.241 s0.195 s-0.046 s2.78 MiB2.79 MiB+ 10.08 KiB
/0.255 s0.226 s-0.029 s2.65 MiB2.69 MiB+ 38.61 KiB
Average 0.458 s0.326 s-0.132 s3.15 MiB3.16 MiB+ 13.1 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
PHP87.9%4871556
PO File12.1%6751
Total 554 160 7

PHP Code Analysis | More results »

Lines of code 391
Total complexity 99
Median class complexity 69.0
Median method complexity 4.0
Most complex class optipic\cdn\ImgUrlConverter
Most complex function optipic\cdn\ImgUrlConverter::convertHtml()
Classes 1
Methods 12
Functions 12

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

[15-Mar-2021 20:08:44 UTC] PHP Notice:  Undefined index: cdn_autoreplace_active in /wp-content/plugins/optipic/includes/settings.php on line 24
[15-Mar-2021 20:08:44 UTC] PHP Notice:  Undefined index: cdn_site_id in /wp-content/plugins/optipic/includes/settings.php on line 31
[15-Mar-2021 20:08:44 UTC] PHP Notice:  Undefined index: exclusions_url in /wp-content/plugins/optipic/includes/settings.php on line 50
[15-Mar-2021 20:08:44 UTC] PHP Notice:  Undefined index: whitelist_img_urls in /wp-content/plugins/optipic/includes/settings.php on line 59
[15-Mar-2021 20:08:44 UTC] PHP Notice:  Undefined variable: siteId in /wp-content/plugins/optipic/includes/settings.php on line 89
[15-Mar-2021 20:08:44 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[15-Mar-2021 20:08:44 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[15-Mar-2021 20:08:44 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 43
[15-Mar-2021 20:08:44 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 43
[15-Mar-2021 20:08:44 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 43
[15-Mar-2021 20:08:44 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 43
[15-Mar-2021 20:08:51 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 30
[15-Mar-2021 20:08:51 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 31
[15-Mar-2021 20:08:51 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 43
[15-Mar-2021 20:08:51 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 43
[15-Mar-2021 20:08:51 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 43
[15-Mar-2021 20:08:51 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/optipic/includes/functions.php on line 43
See also: All tests for this plugin, How to Hide the "OptiPic" Admin Menu