A2 Optimized WP 3.0.5

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

Summary

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

Memory usage: 41.52 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=47c6d4441b
Aspect after-activation
HTTP status 200
Load time 0.468 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.446 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.317 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.235 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.277 s0.245 s-0.032 s3.05 MiB3.09 MiB+ 47.16 KiB
/wp-admin/edit.php0.192 s0.197 s+0.005 s3.07 MiB3.12 MiB+ 48.2 KiB
/wp-admin/post-new.php0.844 s0.926 s+0.082 s4.97 MiB5.02 MiB+ 50.79 KiB
/wp-admin/upload.php0.541 s0.495 s-0.046 s2.99 MiB3.02 MiB+ 30.8 KiB
/wp-admin/options-writing.php0.145 s0.132 s-0.013 s2.99 MiB3.01 MiB+ 17.45 KiB
/wp-admin/media-new.php0.272 s0.187 s-0.085 s2.97 MiB3.01 MiB+ 42.99 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.178 s-0.006 s2.98 MiB3.03 MiB+ 48.16 KiB
/wp-admin/post-new.php?post_type=page0.610 s0.663 s+0.053 s4.96 MiB5.01 MiB+ 46.38 KiB
/wp-admin/options-discussion.php0.220 s0.191 s-0.029 s2.98 MiB3.01 MiB+ 31.3 KiB
/wp-admin/edit-comments.php0.200 s0.199 s-0.001 s3 MiB3.03 MiB+ 30.09 KiB
/0.283 s0.208 s-0.075 s2.94 MiB3.01 MiB+ 63.45 KiB
Average 0.343 s0.329 s-0.013 s3.35 MiB3.39 MiB+ 41.52 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,424
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 43 lines

[25-Jan-2023 15:16:55 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:16:55 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:16:56 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:16:57 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:16:57 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
[25-Jan-2023 15:16:58 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:16:59 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:16:59 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
[25-Jan-2023 15:17:00 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:01 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:01 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:01 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:01 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:03 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:03 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:03 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:03 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:03 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:03 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:03 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:03 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:04 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:04 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:04 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:04 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:04 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:05 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:05 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:06 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:06 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:06 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:06 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:06 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:06 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:06 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:06 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:07 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:07 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:07 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:07 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:08 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:08 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
[25-Jan-2023 15:17:08 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/a2-optimized.php on line 119
See also: All tests for this plugin, How to Hide A2 Optimized WP Admin Menus