Autoptimize 2.8.3

Does Autoptimize work with WordPress 5.7.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

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

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

Environment
WordPress version5.7.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000,000+
WordPress.org page https://wordpress.org/plugins/autoptimize/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=autoptimize%2Fautoptimize.php&plugin_status=all&paged=1&s&_wpnonce=f2d74bbeb5
Aspect after-activation
HTTP status 200
Load time 1.150 s
Memory usage 3 MiB
JS errors None
Resource errors None

Settings → Autoptimize

Page screenshot: Settings → Autoptimize
URL /wp-admin/options-general.php?page=autoptimize
Aspect menu-item
HTTP status 200
Load time 1.172 s
Memory usage 5.16 MiB
JS errors None
Resource errors None

Settings → Autoptimize → Images

Page screenshot: Settings → Autoptimize → Images
URL /wp-admin/options-general.php?page=autoptimize_imgopt
Aspect menu-item-tab
HTTP status 200
Load time 0.190 s
Memory usage 2.8 MiB
JS errors None
Resource errors None

Settings → Autoptimize → Critical CSS

Page screenshot: Settings → Autoptimize →  Critical CSS
URL /wp-admin/options-general.php?page=ao_critcss
Aspect menu-item-tab
HTTP status 200
Load time 0.916 s
Memory usage 3 MiB
JS errors None
Resource errors None

Settings → Autoptimize → Extra

Page screenshot: Settings → Autoptimize → Extra
URL /wp-admin/options-general.php?page=autoptimize_extra
Aspect menu-item-tab
HTTP status 200
Load time 0.206 s
Memory usage 2.8 MiB
JS errors None
Resource errors None

Settings → Autoptimize → Optimize More!

Page screenshot: Settings → Autoptimize → Optimize More!
URL /wp-admin/options-general.php?page=ao_partners
Aspect menu-item-tab
HTTP status 200
Load time 1.221 s
Memory usage 3.14 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.454 s
Memory usage 2.72 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.462 s0.445 s-0.017 s2.82 MiB2.95 MiB+ 133.38 KiB
/wp-admin/edit.php0.245 s0.292 s+0.047 s2.86 MiB2.99 MiB+ 133.65 KiB
/wp-admin/post-new.php0.961 s1.229 s+0.268 s5.02 MiB5.17 MiB+ 152.77 KiB
/wp-admin/upload.php0.597 s0.491 s-0.106 s2.7 MiB2.82 MiB+ 132.22 KiB
/wp-admin/options-writing.php0.207 s0.195 s-0.012 s2.71 MiB2.81 MiB+ 99.59 KiB
/wp-admin/media-new.php0.249 s0.260 s+0.011 s2.67 MiB2.8 MiB+ 133.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.233 s0.243 s+0.010 s2.77 MiB2.9 MiB+ 135.48 KiB
/wp-admin/post-new.php?post_type=page0.714 s0.728 s+0.014 s5.01 MiB5.15 MiB+ 148.39 KiB
/wp-admin/options-discussion.php0.237 s0.257 s+0.020 s2.67 MiB2.8 MiB+ 133.04 KiB
/wp-admin/edit-comments.php0.262 s0.251 s-0.011 s2.78 MiB2.91 MiB+ 132.89 KiB
/0.312 s0.329 s+0.017 s2.71 MiB2.72 MiB+ 10.87 KiB
Average 0.407 s0.429 s+0.022 s3.16 MiB3.28 MiB+ 122.3 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
Language % Lines of code Comment lines Files
PHP94.0%8,9052,71936
CSS5.2%49593
JavaScript0.7%69112
HTML0.0%101
Total 9,470 2,739 42

PHP Code Analysis | More results »

Lines of code 8,271
Total complexity 1,961
Median class complexity 66.0
Median method complexity 3.0
Most complex class autoptimizeImages
Most complex function autoptimizeConfig::show_config()
Classes 24
Methods 326
Functions 10

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.

Options wp_options 4

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Autoptimize Admin Menus and Meta Boxes