A2 Optimized WP 3.0.5.1

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

Summary

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

Memory usage: 40.98 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=9c559035c9
Aspect after-activation
HTTP status 200
Load time 0.606 s
Memory usage 3.04 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.604 s
Memory usage 3.23 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.385 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.338 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.300 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.343 s0.315 s-0.028 s3.05 MiB3.09 MiB+ 46.91 KiB
/wp-admin/edit.php0.202 s0.248 s+0.046 s3.07 MiB3.12 MiB+ 47.96 KiB
/wp-admin/post-new.php0.956 s1.195 s+0.239 s4.97 MiB5.02 MiB+ 50.8 KiB
/wp-admin/upload.php0.708 s0.646 s-0.062 s2.99 MiB3.02 MiB+ 29.81 KiB
/wp-admin/options-writing.php0.168 s0.190 s+0.022 s2.99 MiB3 MiB+ 16.46 KiB
/wp-admin/media-new.php0.359 s0.249 s-0.110 s2.97 MiB3.01 MiB+ 42 KiB
/wp-admin/edit-tags.php?taxonomy=category0.216 s0.222 s+0.006 s2.98 MiB3.03 MiB+ 47.17 KiB
/wp-admin/post-new.php?post_type=page0.696 s0.767 s+0.071 s4.96 MiB5.01 MiB+ 46.38 KiB
/wp-admin/options-discussion.php0.255 s0.234 s-0.021 s2.98 MiB3 MiB+ 30.3 KiB
/wp-admin/edit-comments.php0.261 s0.237 s-0.024 s3 MiB3.03 MiB+ 29.84 KiB
/0.342 s0.260 s-0.082 s2.94 MiB3.01 MiB+ 63.2 KiB
Average 0.410 s0.415 s+0.005 s3.35 MiB3.39 MiB+ 40.98 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
JavaScript52.7%11,7842,0923
PHP35.3%7,9032,77842
Sass4.6%1,02721
CSS4.3%955181
JSON1.8%40501
SVG1.3%28801
Total 22,362 4,890 49

PHP Code Analysis | More results »

Lines of code 6,980
Total complexity 1,426
Median class complexity 15.5
Median method complexity 2.0
Most complex class A2_Optimized_Optimizations
Most complex function A2_Optimized_CLI::benchmarks()
Classes 30
Methods 343
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 2

PHP Error Log 2 lines

[07-Feb-2023 14:45:40 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 412
[07-Feb-2023 14:45:43 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 412
See also: All tests for this plugin, How to Hide A2 Optimized WP Admin Menus