A2 Optimized WP 2.1.4.6.1

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: 128.81 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 50,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=1a76dfd6ea
Aspect after-activation
HTTP status 200
Load time 0.543 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.624 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.312 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.331 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.382 s0.355 s-0.027 s3.72 MiB3.86 MiB+ 143.42 KiB
/wp-admin/edit.php0.213 s0.222 s+0.009 s3.75 MiB3.89 MiB+ 138.89 KiB
/wp-admin/post-new.php0.966 s1.284 s+0.318 s5.54 MiB5.69 MiB+ 148.11 KiB
/wp-admin/upload.php0.476 s0.427 s-0.049 s3.68 MiB3.82 MiB+ 138.4 KiB
/wp-admin/options-writing.php0.271 s0.181 s-0.090 s3.62 MiB3.73 MiB+ 118.3 KiB
/wp-admin/media-new.php0.474 s0.241 s-0.233 s3.66 MiB3.8 MiB+ 138.57 KiB
/wp-admin/edit-tags.php?taxonomy=category0.216 s0.219 s+0.003 s3.69 MiB3.82 MiB+ 139.48 KiB
/wp-admin/post-new.php?post_type=page1.467 s0.982 s-0.485 s5.54 MiB5.68 MiB+ 139.7 KiB
/wp-admin/options-discussion.php0.249 s0.291 s+0.042 s3.6 MiB3.73 MiB+ 139.2 KiB
/wp-admin/edit-comments.php0.244 s0.248 s+0.004 s3.69 MiB3.83 MiB+ 139.13 KiB
/0.356 s0.247 s-0.109 s3.55 MiB3.58 MiB+ 33.73 KiB
Average 0.483 s0.427 s-0.056 s4 MiB4.13 MiB+ 128.81 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,5511,73014
JSON5.3%38701
SVG3.9%28801
CSS1.7%12201
JavaScript0.2%1201
Total 7,360 1,730 18

PHP Code Analysis | More results »

Lines of code 6,608
Total complexity 1,278
Median class complexity 85.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

[02-Aug-2022 18:29:48 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-Aug-2022 18:29:48 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-Aug-2022 18:29:48 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 and Widgets