A2 Optimized WP 2.1.3.10

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

Summary

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

Memory usage: 107.93 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 version5.9.3
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=7be4a1e7e2
Aspect after-activation
HTTP status 200
Load time 0.333 s
Memory usage 3.39 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.612 s
Memory usage 3.75 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.320 s
Memory usage 3.38 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.263 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.346 s0.270 s-0.076 s3.37 MiB3.5 MiB+ 135.66 KiB
/wp-admin/edit.php0.186 s0.191 s+0.005 s3.4 MiB3.53 MiB+ 131.13 KiB
/wp-admin/post-new.php0.808 s1.014 s+0.206 s5.65 MiB5.72 MiB+ 72.03 KiB
/wp-admin/upload.php0.360 s0.317 s-0.043 s3.25 MiB3.38 MiB+ 138.63 KiB
/wp-admin/options-writing.php0.277 s0.148 s-0.129 s3.24 MiB3.36 MiB+ 122.48 KiB
/wp-admin/media-new.php0.336 s0.192 s-0.144 s3.23 MiB3.36 MiB+ 138.8 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.209 s+0.007 s3.27 MiB3.39 MiB+ 131.71 KiB
/wp-admin/post-new.php?post_type=page0.912 s0.675 s-0.237 s5.65 MiB5.72 MiB+ 67.62 KiB
/wp-admin/options-discussion.php0.254 s0.337 s+0.083 s3.22 MiB3.36 MiB+ 139.43 KiB
/wp-admin/edit-comments.php0.214 s0.235 s+0.021 s3.27 MiB3.4 MiB+ 131.36 KiB
/0.317 s0.216 s-0.101 s3.4 MiB3.38 MiB- 21.59 KiB
Average 0.383 s0.346 s-0.037 s3.72 MiB3.83 MiB+ 107.93 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
PHP88.4%6,1591,66713
JSON5.6%38701
SVG4.1%28801
CSS1.8%12201
JavaScript0.2%1201
Total 6,968 1,667 17

PHP Code Analysis | More results »

Lines of code 6,208
Total complexity 1,203
Median class complexity 80.0
Median method complexity 2.0
Most complex class A2_Optimized_OptionsManager
Most complex function A2_Optimized_Optimizations::get_public_optimizations()
Classes 12
Methods 315
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 4 lines

[06-Apr-2022 01:38:38 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/A2_Optimized_Optimizations.php on line 35
[06-Apr-2022 01:38:38 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 337
[06-Apr-2022 01:38:38 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 390
[06-Apr-2022 01:38:38 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 414
See also: All tests for this plugin, How to Hide A2 Optimized WP Admin Menus