MegaOptim Image Optimizer 1.4.17

Does MegaOptim Image Optimizer work with WordPress 5.8.2 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 204.4 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.031 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/megaoptim-image-optimizer/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=megaoptim-image-optimizer%2Fmegaoptim.php&plugin_status=all&paged=1&s&_wpnonce=9e80a1c792
Aspect after-activation
HTTP status 200
Load time 1.028 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Media → Bulk MegaOptim

Page screenshot: Media → Bulk MegaOptim
URL /wp-admin/upload.php?page=megaoptim_bulk_optimizer
Aspect menu-item
HTTP status 200
Load time 0.264 s
Memory usage 3.29 MiB
JS errors
[
    {
        "message": "TypeError: Cannot set properties of undefined (setting 'wrap')\n    at /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=hoverIntent,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.8.2:3:1788\n    at /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=hoverIntent,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.8.2:3:6275",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'defaultHooks')\n    at Module.Vhyj (/wp-includes/js/dist/i18n.min.js?ver=5f1269854226b4dd90450db411a12b79:2:9547)\n    at n (/wp-includes/js/dist/i18n.min.js?ver=5f1269854226b4dd90450db411a12b79:2:142)\n    at wp.i18n.4Z/T (/wp-includes/js/dist/i18n.min.js?ver=5f1269854226b4dd90450db411a12b79:2:941)\n    at /wp-includes/js/dist/i18n.min.js?ver=5f1269854226b4dd90450db411a12b79:2:955",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'setLocaleData')\n    at /wp-admin/upload.php?page=megaoptim_bulk_optimizer:381:9",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'setLocaleData')\n    at /wp-admin/upload.php?page=megaoptim_bulk_optimizer:387:10\n    at /wp-admin/upload.php?page=megaoptim_bulk_optimizer:388:4",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of undefined (reading '__')\n    at /wp-admin/js/common.min.js?ver=5.8.2:2:70\n    at /wp-admin/js/common.min.js?ver=5.8.2:2:19987",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'setLocaleData')\n    at /wp-admin/upload.php?page=megaoptim_bulk_optimizer:402:10\n    at /wp-admin/upload.php?page=megaoptim_bulk_optimizer:403:4",
        "trace": null,
        "code": null
    }
]
Resource errors None

Settings → MegaOptim

Page screenshot: Settings → MegaOptim
URL /wp-admin/options-general.php?page=megaoptim_settings
Aspect menu-item
HTTP status 200
Load time 0.237 s
Memory usage 3.31 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.210 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.370 s0.391 s+0.021 s3.08 MiB3.29 MiB+ 213.26 KiB
/wp-admin/edit.php0.185 s0.228 s+0.043 s3.11 MiB3.38 MiB+ 276.99 KiB
/wp-admin/post-new.php0.793 s0.975 s+0.182 s5.27 MiB5.47 MiB+ 202.8 KiB
/wp-admin/upload.php0.388 s0.377 s-0.011 s3.03 MiB3.23 MiB+ 208.76 KiB
/wp-admin/options-writing.php0.280 s0.166 s-0.114 s3.02 MiB3.21 MiB+ 188.91 KiB
/wp-admin/media-new.php0.355 s0.414 s+0.059 s3.01 MiB3.22 MiB+ 213.06 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.261 s+0.058 s3.04 MiB3.25 MiB+ 213.44 KiB
/wp-admin/post-new.php?post_type=page0.684 s0.702 s+0.018 s5.26 MiB5.45 MiB+ 198.39 KiB
/wp-admin/options-discussion.php0.250 s0.327 s+0.077 s3 MiB3.21 MiB+ 212.46 KiB
/wp-admin/edit-comments.php0.215 s0.280 s+0.065 s3.04 MiB3.24 MiB+ 202.75 KiB
/0.275 s0.216 s-0.059 s2.96 MiB3.07 MiB+ 117.52 KiB
Average 0.363 s0.394 s+0.031 s3.44 MiB3.64 MiB+ 204.4 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
SVG
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP56.9%8,6405,11197
SVG17.6%2,67101
JavaScript10.5%1,5924195
CSS8.5%1,286382
Markdown2.1%31703
HTML1.8%269251
LESS1.0%15652
CoffeeScript1.0%147301
JSON0.8%11904
Total 15,197 5,628 116

PHP Code Analysis | More results »

Lines of code 6,953
Total complexity 1,822
Median class complexity 16.0
Median method complexity 2.0
Most complex class MGO_Ajax
Most complex function MGO_Ajax::save_advanced_settings()
Classes 47
Methods 415
Functions 134

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.

Database Tables 1

Options wp_options 2

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide MegaOptim Image Optimizer Admin Menus