A2 Optimized WP 2.1.3.4

Does A2 Optimized WP work with WordPress 5.8 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: 106.36 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.8
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=71fb78b8c2
Aspect after-activation
HTTP status 200
Load time 0.447 s
Memory usage 3.16 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 1.223 s
Memory usage 3.45 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.206 s
Memory usage 3 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.254 s
Memory usage 3.21 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.292 s0.249 s-0.043 s3.08 MiB3.21 MiB+ 129.51 KiB
/wp-admin/edit.php0.219 s0.175 s-0.044 s3.11 MiB3.23 MiB+ 125.02 KiB
/wp-admin/post-new.php0.908 s1.008 s+0.100 s5.27 MiB5.4 MiB+ 136.18 KiB
/wp-admin/upload.php0.536 s0.301 s-0.235 s3.03 MiB3.15 MiB+ 124.48 KiB
/wp-admin/options-writing.php0.137 s0.245 s+0.108 s3.02 MiB3.07 MiB+ 44.46 KiB
/wp-admin/media-new.php0.307 s0.232 s-0.075 s3.01 MiB3.13 MiB+ 124.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.178 s-0.013 s3.04 MiB3.16 MiB+ 125.56 KiB
/wp-admin/post-new.php?post_type=page1.073 s0.761 s-0.312 s5.26 MiB5.38 MiB+ 131.77 KiB
/wp-admin/options-discussion.php0.286 s0.313 s+0.027 s3 MiB3.06 MiB+ 61.28 KiB
/wp-admin/edit-comments.php0.203 s0.213 s+0.010 s3.04 MiB3.16 MiB+ 125.21 KiB
/0.317 s0.229 s-0.088 s2.96 MiB3 MiB+ 41.84 KiB
Average 0.406 s0.355 s-0.051 s3.44 MiB3.54 MiB+ 106.36 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,4771,53812
JSON6.2%38701
SVG4.6%28801
CSS1.9%12201
JavaScript0.2%1201
Total 6,286 1,538 16

PHP Code Analysis | More results »

Lines of code 5,524
Total complexity 1,117
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 11
Methods 291
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

[20-Jul-2021 23:23:13 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
[20-Jul-2021 23:23: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 337
[20-Jul-2021 23:23: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 390
[20-Jul-2021 23:23: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 414
See also: All tests for this plugin, How to Hide A2 Optimized WP Admin Menus