A2 Optimized WP 3.0.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: 40.57 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=a8ac4d9fc3
Aspect after-activation
HTTP status 200
Load time 0.269 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.519 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.325 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.318 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.224 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.303 s0.251 s-0.052 s3.05 MiB3.09 MiB+ 46.49 KiB
/wp-admin/edit.php0.211 s0.223 s+0.012 s3.07 MiB3.12 MiB+ 47.54 KiB
/wp-admin/post-new.php0.818 s0.829 s+0.011 s4.97 MiB5.02 MiB+ 50.38 KiB
/wp-admin/upload.php0.589 s0.516 s-0.073 s2.99 MiB3.02 MiB+ 29.4 KiB
/wp-admin/options-writing.php0.206 s0.156 s-0.050 s2.99 MiB3 MiB+ 16.05 KiB
/wp-admin/media-new.php0.382 s0.206 s-0.176 s2.97 MiB3.01 MiB+ 41.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.183 s-0.021 s2.98 MiB3.03 MiB+ 46.76 KiB
/wp-admin/post-new.php?post_type=page0.679 s0.666 s-0.013 s4.96 MiB5.01 MiB+ 45.96 KiB
/wp-admin/options-discussion.php0.219 s0.219 s+0.000 s2.98 MiB3 MiB+ 29.89 KiB
/wp-admin/edit-comments.php0.228 s0.218 s-0.010 s3 MiB3.03 MiB+ 29.43 KiB
/0.320 s0.236 s-0.084 s2.94 MiB3.01 MiB+ 62.78 KiB
Average 0.378 s0.337 s-0.041 s3.35 MiB3.39 MiB+ 40.57 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.3%11,7842,0923
PHP34.6%7,6372,77842
Sass4.6%1,02721
CSS4.3%955181
JSON1.8%40501
SVG1.3%28801
Total 22,096 4,890 49

PHP Code Analysis | More results »

Lines of code 6,716
Total complexity 1,410
Median class complexity 14.5
Median method complexity 2.0
Most complex class A2_Optimized_Optimizations
Most complex function A2_Optimized_CLI::benchmarks()
Classes 30
Methods 341
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

[13-Dec-2022 15:27:04 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
[13-Dec-2022 15:27:04 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
[13-Dec-2022 15:27:04 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
[13-Dec-2022 15:27:04 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
[13-Dec-2022 15:27:04 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
[13-Dec-2022 15:27:04 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
[13-Dec-2022 15:27:06 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
[13-Dec-2022 15:27:06 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
[13-Dec-2022 15:27:06 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
[13-Dec-2022 15:27:06 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
[13-Dec-2022 15:27:06 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
[13-Dec-2022 15:27:06 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