A2 Optimized WP 3.0.2.2

Does A2 Optimized WP work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
12PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 39.05 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 version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 80,000+
WordPress.org page https://wordpress.org/plugins/a2-optimized-wp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=a2-optimized-wp%2Fa2-optimized.php&plugin_status=all&paged=1&s&_wpnonce=f419e79a57
Aspect after-activation
HTTP status 200
Load time 0.407 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

A2 Optimized

Page screenshot: A2 Optimized
URL /wp-admin/admin.php?page=a2-optimized
Aspect menu-item
HTTP status 200
Load time 0.466 s
Memory usage 3.22 MiB
JS errors None
Resource errors None

A2 Optimized → Website and Server Performance

Page screenshot: A2 Optimized → Website and Server Performance
URL /wp-admin/admin.php?page=a2-optimized&a2_page=server_performance
Aspect menu-item
HTTP status 200
Load time 0.313 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

A2 Optimized → Optimization

Page screenshot: A2 Optimized → Optimization
URL /wp-admin/admin.php?page=a2-optimized&a2_page=optimizations
Aspect menu-item
HTTP status 200
Load time 0.321 s
Memory usage 3.17 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.220 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.288 s0.248 s-0.040 s3.05 MiB3.09 MiB+ 44.82 KiB
/wp-admin/edit.php0.189 s0.196 s+0.007 s3.07 MiB3.12 MiB+ 45.87 KiB
/wp-admin/post-new.php0.778 s0.950 s+0.172 s4.97 MiB5.01 MiB+ 48.7 KiB
/wp-admin/upload.php0.547 s0.441 s-0.106 s2.99 MiB3.02 MiB+ 27.73 KiB
/wp-admin/options-writing.php0.169 s0.174 s+0.005 s2.99 MiB3 MiB+ 14.38 KiB
/wp-admin/media-new.php0.283 s0.232 s-0.051 s2.97 MiB3.01 MiB+ 39.91 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.184 s-0.006 s2.98 MiB3.02 MiB+ 45.09 KiB
/wp-admin/post-new.php?post_type=page0.620 s0.636 s+0.016 s4.96 MiB5 MiB+ 44.29 KiB
/wp-admin/options-discussion.php0.207 s0.197 s-0.010 s2.98 MiB3 MiB+ 28.22 KiB
/wp-admin/edit-comments.php0.204 s0.201 s-0.003 s3 MiB3.03 MiB+ 27.76 KiB
/0.286 s0.212 s-0.074 s2.94 MiB3.01 MiB+ 62.78 KiB
Average 0.342 s0.334 s-0.008 s3.35 MiB3.39 MiB+ 39.05 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.

JavaScript
PHP
Language % Lines of code Comment lines Files
JavaScript53.6%11,7132,0913
PHP34.2%7,4902,81642
Sass4.7%1,02421
CSS4.4%952181
JSON1.9%40501
SVG1.3%28801
Total 21,872 4,927 49

PHP Code Analysis | More results »

Lines of code 6,576
Total complexity 1,392
Median class complexity 14.0
Median method complexity 2.0
Most complex class A2_Optimized_Optimizations
Most complex function A2_Optimized_CLI::benchmarks()
Classes 30
Methods 338
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.

Options wp_options 1

PHP Error Log 12 lines

[28-Nov-2022 23:11:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/core/A2_Optimized_Optimizations.php on line 188
[28-Nov-2022 23:11:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/core/A2_Optimized_Optimizations.php on line 200
[28-Nov-2022 23:11:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/core/A2_Optimized_Optimizations.php on line 212
[28-Nov-2022 23:11:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/core/A2_Optimized_Optimizations.php on line 224
[28-Nov-2022 23:11:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/core/A2_Optimized_Optimizations.php on line 236
[28-Nov-2022 23:11:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/core/A2_Optimized_Optimizations.php on line 248
[28-Nov-2022 23:11:19 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/core/A2_Optimized_Optimizations.php on line 188
[28-Nov-2022 23:11:19 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/core/A2_Optimized_Optimizations.php on line 200
[28-Nov-2022 23:11:19 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/core/A2_Optimized_Optimizations.php on line 212
[28-Nov-2022 23:11:19 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/core/A2_Optimized_Optimizations.php on line 224
[28-Nov-2022 23:11:19 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/core/A2_Optimized_Optimizations.php on line 236
[28-Nov-2022 23:11:19 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/core/A2_Optimized_Optimizations.php on line 248
See also: All tests for this plugin, How to Hide A2 Optimized WP Admin Menus