A2 Optimized WP 3.0.2

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: 72.4 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 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=ec0d2a82b9
Aspect after-activation
HTTP status 200
Load time 0.354 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.784 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.353 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.376 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.373 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.308 s0.325 s+0.017 s3.55 MiB3.67 MiB+ 125.2 KiB
/wp-admin/edit.php0.254 s0.228 s-0.026 s3.58 MiB3.71 MiB+ 125.94 KiB
/wp-admin/post-new.php0.846 s0.751 s-0.095 s5.48 MiB5.54 MiB+ 69.08 KiB
/wp-admin/upload.php0.584 s0.489 s-0.095 s3.49 MiB3.55 MiB+ 60.04 KiB
/wp-admin/options-writing.php0.173 s0.170 s-0.003 s3.48 MiB3.53 MiB+ 41.16 KiB
/wp-admin/media-new.php0.313 s0.232 s-0.081 s3.47 MiB3.53 MiB+ 60.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.170 s0.221 s+0.051 s3.5 MiB3.58 MiB+ 76.66 KiB
/wp-admin/post-new.php?post_type=page0.676 s0.700 s+0.024 s5.47 MiB5.53 MiB+ 60.63 KiB
/wp-admin/options-discussion.php0.249 s0.255 s+0.006 s3.47 MiB3.53 MiB+ 60.52 KiB
/wp-admin/edit-comments.php0.229 s0.223 s-0.006 s3.5 MiB3.64 MiB+ 144.06 KiB
/0.306 s0.251 s-0.055 s3.47 MiB3.45 MiB- 27.12 KiB
Average 0.373 s0.350 s-0.024 s3.86 MiB3.93 MiB+ 72.4 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,4522,82742
Sass4.7%1,02421
CSS4.4%952181
JSON1.9%40501
SVG1.3%28801
Total 21,834 4,938 49

PHP Code Analysis | More results »

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

[14-Nov-2022 14:41:32 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
[14-Nov-2022 14:41:32 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
[14-Nov-2022 14:41:32 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
[14-Nov-2022 14:41:32 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
[14-Nov-2022 14:41:32 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
[14-Nov-2022 14:41:32 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
[14-Nov-2022 14:41:35 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
[14-Nov-2022 14:41:35 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
[14-Nov-2022 14:41:35 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
[14-Nov-2022 14:41:35 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
[14-Nov-2022 14:41:35 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
[14-Nov-2022 14:41:35 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