A2 Optimized WP 2.1.2

Does A2 Optimized WP work with WordPress 5.7.1 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.57 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.7.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 70,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=9dbb597a2b
Aspect after-activation
HTTP status 200
Load time 0.325 s
Memory usage 2.84 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.429 s
Memory usage 3.19 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.177 s
Memory usage 2.68 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.315 s
Memory usage 2.95 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.283 s0.294 s+0.011 s2.82 MiB2.95 MiB+ 133.51 KiB
/wp-admin/edit.php0.184 s0.209 s+0.025 s2.86 MiB2.99 MiB+ 129.02 KiB
/wp-admin/post-new.php0.932 s1.270 s+0.338 s5.03 MiB5.17 MiB+ 142.99 KiB
/wp-admin/upload.php0.530 s0.584 s+0.054 s2.7 MiB2.82 MiB+ 128.48 KiB
/wp-admin/options-writing.php0.262 s0.169 s-0.093 s2.71 MiB2.81 MiB+ 96.46 KiB
/wp-admin/media-new.php0.232 s0.190 s-0.042 s2.67 MiB2.8 MiB+ 128.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.212 s+0.003 s2.77 MiB2.84 MiB+ 65.56 KiB
/wp-admin/post-new.php?post_type=page1.237 s0.689 s-0.548 s5.01 MiB5.15 MiB+ 138.58 KiB
/wp-admin/options-discussion.php0.340 s0.221 s-0.119 s2.68 MiB2.8 MiB+ 129.28 KiB
/wp-admin/edit-comments.php0.266 s0.218 s-0.048 s2.78 MiB2.84 MiB+ 65.21 KiB
/0.282 s0.311 s+0.029 s2.65 MiB2.68 MiB+ 25.51 KiB
Average 0.432 s0.397 s-0.035 s3.15 MiB3.26 MiB+ 107.57 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
PHP87.1%5,4411,51812
JSON6.2%38701
SVG4.6%28801
CSS2.0%12201
JavaScript0.2%1201
Total 6,250 1,518 16

PHP Code Analysis | More results »

Lines of code 5,488
Total complexity 1,094
Median class complexity 78.0
Median method complexity 2.0
Most complex class A2_Optimized_OptionsManager
Most complex function A2_Optimized_Optimizations::get_public_optimizations()
Classes 11
Methods 288
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

[27-Apr-2021 15:30:14 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
[27-Apr-2021 15:30:14 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 331
[27-Apr-2021 15:30:14 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 384
[27-Apr-2021 15:30:14 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 408
See also: All tests for this plugin, How to Hide A2 Optimized WP Admin Menus