A2 Optimized WP 3.0.2.1

Does A2 Optimized WP work with WordPress 6.1.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: 86.38 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 version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=1a8536c9cf
Aspect after-activation
HTTP status 200
Load time 0.264 s
Memory usage 3.55 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.641 s
Memory usage 3.73 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.283 s
Memory usage 3.59 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.260 s
Memory usage 3.67 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.282 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.295 s0.282 s-0.013 s3.54 MiB3.67 MiB+ 125.2 KiB
/wp-admin/edit.php0.156 s0.166 s+0.010 s3.57 MiB3.69 MiB+ 125.94 KiB
/wp-admin/post-new.php0.864 s1.087 s+0.223 s5.46 MiB5.53 MiB+ 65.08 KiB
/wp-admin/upload.php0.583 s0.295 s-0.288 s3.41 MiB3.53 MiB+ 124.04 KiB
/wp-admin/options-writing.php0.145 s0.246 s+0.101 s3.4 MiB3.51 MiB+ 106.51 KiB
/wp-admin/media-new.php0.219 s0.227 s+0.008 s3.38 MiB3.51 MiB+ 124.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.168 s0.172 s+0.004 s3.48 MiB3.54 MiB+ 61.12 KiB
/wp-admin/post-new.php?post_type=page0.865 s0.839 s-0.026 s5.46 MiB5.52 MiB+ 60.63 KiB
/wp-admin/options-discussion.php0.180 s0.179 s-0.001 s3.38 MiB3.51 MiB+ 124.52 KiB
/wp-admin/edit-comments.php0.196 s0.186 s-0.010 s3.48 MiB3.54 MiB+ 60.06 KiB
/0.273 s0.190 s-0.083 s3.46 MiB3.44 MiB- 27.12 KiB
Average 0.359 s0.352 s-0.007 s3.82 MiB3.91 MiB+ 86.38 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.6%11,7132,0913
PHP34.1%7,4552,82742
Sass4.7%1,02421
CSS4.4%952181
JSON1.9%40501
SVG1.3%28801
Total 21,837 4,938 49

PHP Code Analysis | More results »

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

[16-Nov-2022 01:11:02 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
[16-Nov-2022 01:11:02 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
[16-Nov-2022 01:11:02 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
[16-Nov-2022 01:11:02 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
[16-Nov-2022 01:11:02 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
[16-Nov-2022 01:11:02 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
[16-Nov-2022 01:11:05 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
[16-Nov-2022 01:11:05 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
[16-Nov-2022 01:11:05 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
[16-Nov-2022 01:11:05 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
[16-Nov-2022 01:11:05 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
[16-Nov-2022 01:11:05 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