A2 Optimized WP 3.0.1

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

Summary

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

Memory usage: 77.25 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
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 70,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=c24035af60
Aspect after-activation
HTTP status 200
Load time 0.502 s
Memory usage 3.63 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.684 s
Memory usage 3.75 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.61 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.334 s
Memory usage 3.69 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.259 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.322 s0.400 s+0.078 s3.55 MiB3.67 MiB+ 125.2 KiB
/wp-admin/edit.php0.191 s0.250 s+0.059 s3.58 MiB3.71 MiB+ 125.94 KiB
/wp-admin/post-new.php1.129 s1.289 s+0.160 s5.48 MiB5.54 MiB+ 69.08 KiB
/wp-admin/upload.php0.772 s0.585 s-0.187 s3.49 MiB3.55 MiB+ 60.04 KiB
/wp-admin/options-writing.php0.185 s0.214 s+0.029 s3.48 MiB3.53 MiB+ 41.16 KiB
/wp-admin/media-new.php0.259 s0.267 s+0.008 s3.47 MiB3.53 MiB+ 60.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.211 s-0.004 s3.5 MiB3.58 MiB+ 76.66 KiB
/wp-admin/post-new.php?post_type=page1.121 s1.031 s-0.090 s5.47 MiB5.53 MiB+ 60.63 KiB
/wp-admin/options-discussion.php0.286 s0.263 s-0.023 s3.47 MiB3.53 MiB+ 60.52 KiB
/wp-admin/edit-comments.php0.253 s0.261 s+0.008 s3.5 MiB3.64 MiB+ 144.06 KiB
/0.283 s0.231 s-0.052 s3.42 MiB3.45 MiB+ 26.2 KiB
Average 0.456 s0.455 s-0.001 s3.86 MiB3.93 MiB+ 77.25 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.7%11,7132,0913
PHP34.1%7,4502,82742
Sass4.7%1,02421
CSS4.4%952181
JSON1.9%40501
SVG1.3%28801
Total 21,832 4,938 49

PHP Code Analysis | More results »

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

User Metadata wp_usermeta 1

PHP Error Log 12 lines

[07-Nov-2022 18:24:28 UTC] PHP Notice:  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
[07-Nov-2022 18:24:28 UTC] PHP Notice:  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
[07-Nov-2022 18:24:28 UTC] PHP Notice:  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
[07-Nov-2022 18:24:28 UTC] PHP Notice:  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
[07-Nov-2022 18:24:28 UTC] PHP Notice:  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
[07-Nov-2022 18:24:28 UTC] PHP Notice:  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
[07-Nov-2022 18:24:30 UTC] PHP Notice:  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
[07-Nov-2022 18:24:30 UTC] PHP Notice:  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
[07-Nov-2022 18:24:30 UTC] PHP Notice:  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
[07-Nov-2022 18:24:30 UTC] PHP Notice:  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
[07-Nov-2022 18:24:30 UTC] PHP Notice:  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
[07-Nov-2022 18:24:30 UTC] PHP Notice:  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