A2 Optimized WP 2.1.5.1

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

Summary

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

Memory usage: 115.92 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 4

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=ba288fde72
Aspect after-activation
HTTP status 200
Load time 0.356 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

A2 Optimized

Page screenshot: A2 Optimized
URL /wp-admin/admin.php?page=A2_Optimized_Plugin_admin
Aspect menu-item
HTTP status 200
Load time 0.549 s
Memory usage 3.93 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.205 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.279 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.272 s0.289 s+0.017 s3.55 MiB3.69 MiB+ 144.57 KiB
/wp-admin/edit.php0.174 s0.197 s+0.023 s3.58 MiB3.72 MiB+ 139.9 KiB
/wp-admin/post-new.php0.788 s0.663 s-0.125 s5.48 MiB5.62 MiB+ 149.12 KiB
/wp-admin/upload.php0.543 s0.275 s-0.268 s3.49 MiB3.63 MiB+ 139.38 KiB
/wp-admin/options-writing.php0.199 s0.244 s+0.045 s3.48 MiB3.54 MiB+ 56.49 KiB
/wp-admin/media-new.php0.441 s0.207 s-0.234 s3.47 MiB3.6 MiB+ 139.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.188 s+0.003 s3.5 MiB3.65 MiB+ 155.99 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.614 s+0.008 s5.47 MiB5.61 MiB+ 140.67 KiB
/wp-admin/options-discussion.php0.207 s0.209 s+0.002 s3.47 MiB3.54 MiB+ 76.17 KiB
/wp-admin/edit-comments.php0.208 s0.229 s+0.021 s3.5 MiB3.66 MiB+ 160.1 KiB
/0.286 s0.223 s-0.063 s3.47 MiB3.45 MiB- 26.84 KiB
Average 0.355 s0.303 s-0.052 s3.86 MiB3.97 MiB+ 115.92 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.

PHP
Language % Lines of code Comment lines Files
PHP89.0%6,5571,73014
JSON5.3%38701
SVG3.9%28801
CSS1.7%12201
JavaScript0.2%1201
Total 7,366 1,730 18

PHP Code Analysis | More results »

Lines of code 6,620
Total complexity 1,278
Median class complexity 83.0
Median method complexity 2.0
Most complex class A2_Optimized_OptionsManager
Most complex function A2_Optimized_Optimizations::get_public_optimizations()
Classes 13
Methods 334
Functions 14

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

User Metadata wp_usermeta 1

Meta Boxes

{
    "dashboard": {
        "a2_optimized": {
            "title": "",
            "context": "normal"
        },
        "a2_optimized_kb": {
            "title": "Have any questions? Search the A2 Hosting Knowledge Base for answers.",
            "context": "normal"
        }
    }
}

PHP Error Log 3 lines

[02-Nov-2022 07:54:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/a2-optimized-wp/A2_Optimized_Optimizations.php on line 339
[02-Nov-2022 07:54:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/a2-optimized-wp/A2_Optimized_Optimizations.php on line 392
[02-Nov-2022 07:54:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/a2-optimized-wp/A2_Optimized_Optimizations.php on line 416
See also: All tests for this plugin, How to Hide A2 Optimized WP Admin Menus