A2 Optimized WP 3.0.2.3

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=96c4615680
Aspect after-activation
HTTP status 200
Load time 0.249 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.601 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.321 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.304 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.222 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.284 s0.255 s-0.029 s3.05 MiB3.09 MiB+ 44.82 KiB
/wp-admin/edit.php0.184 s0.184 s+0.000 s3.07 MiB3.12 MiB+ 45.87 KiB
/wp-admin/post-new.php0.781 s0.937 s+0.156 s4.97 MiB5.01 MiB+ 48.7 KiB
/wp-admin/upload.php0.638 s0.243 s-0.395 s2.99 MiB3.02 MiB+ 27.73 KiB
/wp-admin/options-writing.php0.173 s0.156 s-0.017 s2.99 MiB3 MiB+ 14.38 KiB
/wp-admin/media-new.php0.272 s0.365 s+0.093 s2.97 MiB3.01 MiB+ 39.91 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.220 s+0.034 s2.98 MiB3.02 MiB+ 45.09 KiB
/wp-admin/post-new.php?post_type=page0.626 s0.646 s+0.020 s4.96 MiB5 MiB+ 44.29 KiB
/wp-admin/options-discussion.php0.213 s0.192 s-0.021 s2.98 MiB3 MiB+ 28.22 KiB
/wp-admin/edit-comments.php0.208 s0.195 s-0.013 s3 MiB3.03 MiB+ 27.76 KiB
/0.282 s0.207 s-0.075 s2.94 MiB3.01 MiB+ 62.78 KiB
Average 0.350 s0.327 s-0.022 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.5%11,7132,0913
PHP34.3%7,4952,77842
Sass4.7%1,02421
CSS4.4%952181
JSON1.9%40501
SVG1.3%28801
Total 21,877 4,889 49

PHP Code Analysis | More results »

Lines of code 6,581
Total complexity 1,393
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

[05-Dec-2022 14:39:54 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
[05-Dec-2022 14:39:54 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
[05-Dec-2022 14:39:54 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
[05-Dec-2022 14:39:54 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
[05-Dec-2022 14:39:54 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
[05-Dec-2022 14:39:54 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
[05-Dec-2022 14:39:56 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
[05-Dec-2022 14:39:56 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
[05-Dec-2022 14:39:56 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
[05-Dec-2022 14:39:56 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
[05-Dec-2022 14:39:56 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
[05-Dec-2022 14:39:56 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