A2 Optimized WP 2.1.4.6

Does A2 Optimized WP work with WordPress 6.0.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: 123.84 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.0.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=40e04a5d7a
Aspect after-activation
HTTP status 200
Load time 0.368 s
Memory usage 3.83 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.658 s
Memory usage 4.12 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.257 s
Memory usage 3.58 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.319 s
Memory usage 3.86 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.357 s0.302 s-0.055 s3.72 MiB3.86 MiB+ 143.41 KiB
/wp-admin/edit.php0.192 s0.199 s+0.007 s3.75 MiB3.89 MiB+ 138.88 KiB
/wp-admin/post-new.php1.081 s1.238 s+0.157 s5.55 MiB5.69 MiB+ 148.09 KiB
/wp-admin/upload.php0.451 s0.379 s-0.072 s3.68 MiB3.82 MiB+ 138.38 KiB
/wp-admin/options-writing.php0.159 s0.149 s-0.010 s3.62 MiB3.73 MiB+ 118.29 KiB
/wp-admin/media-new.php0.405 s0.223 s-0.182 s3.66 MiB3.8 MiB+ 138.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.327 s0.191 s-0.136 s3.69 MiB3.82 MiB+ 139.46 KiB
/wp-admin/post-new.php?post_type=page1.233 s0.944 s-0.289 s5.54 MiB5.68 MiB+ 139.68 KiB
/wp-admin/options-discussion.php0.214 s0.321 s+0.107 s3.6 MiB3.73 MiB+ 139.18 KiB
/wp-admin/edit-comments.php0.218 s0.228 s+0.010 s3.69 MiB3.83 MiB+ 139.11 KiB
/0.285 s0.221 s-0.064 s3.6 MiB3.58 MiB- 20.74 KiB
Average 0.447 s0.400 s-0.048 s4.01 MiB4.13 MiB+ 123.84 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,5521,73014
JSON5.3%38701
SVG3.9%28801
CSS1.7%12201
JavaScript0.2%1201
Total 7,361 1,730 18

PHP Code Analysis | More results »

Lines of code 6,609
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

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

[26-Jul-2022 14:24:19 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
[26-Jul-2022 14:24:19 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
[26-Jul-2022 14:24:19 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