Does A2 Optimized WP work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .
| 4 | PHP notices |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
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.
| WordPress version | 5.8.1 |
|---|---|
| PHP version | 7.4.8 |
| MySQL version | 8.0.21 |
| PHP memory limit | 256M |
| Last updated | |
|---|---|
| Active installs | 70,000+ |
| WordPress.org page | https://wordpress.org/plugins/a2-optimized-wp/ |
| Badges |
|
| 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=9b8215145d |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.288 s |
| Memory usage | 3.16 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/admin.php?page=A2_Optimized_Plugin_admin |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 1.080 s |
| Memory usage | 3.45 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.174 s |
| Memory usage | 3 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/index.php |
|---|---|
| Aspect | new-meta-boxes |
| HTTP status | 200 |
| Load time | 0.370 s |
| Memory usage | 3.21 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.294 s | 0.243 s | -0.051 s | 3.08 MiB | 3.21 MiB | + 129.51 KiB |
| /wp-admin/edit.php | 0.176 s | 0.196 s | +0.020 s | 3.11 MiB | 3.23 MiB | + 125.02 KiB |
| /wp-admin/post-new.php | 0.784 s | 0.693 s | -0.091 s | 5.27 MiB | 5.4 MiB | + 136.18 KiB |
| /wp-admin/upload.php | 0.534 s | 0.281 s | -0.253 s | 3.03 MiB | 3.15 MiB | + 124.48 KiB |
| /wp-admin/options-writing.php | 0.162 s | 0.288 s | +0.126 s | 3.02 MiB | 3.07 MiB | + 44.46 KiB |
| /wp-admin/media-new.php | 0.253 s | 0.199 s | -0.054 s | 3.01 MiB | 3.13 MiB | + 124.66 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.183 s | 0.172 s | -0.011 s | 3.04 MiB | 3.16 MiB | + 125.56 KiB |
| /wp-admin/post-new.php?post_type=page | 0.828 s | 0.634 s | -0.194 s | 5.26 MiB | 5.39 MiB | + 131.77 KiB |
| /wp-admin/options-discussion.php | 0.301 s | 0.299 s | -0.002 s | 3 MiB | 3.06 MiB | + 61.28 KiB |
| /wp-admin/edit-comments.php | 0.220 s | 0.218 s | -0.002 s | 3.04 MiB | 3.16 MiB | + 125.21 KiB |
| / | 0.388 s | 0.215 s | -0.173 s | 2.96 MiB | 3 MiB | + 41.84 KiB |
| Average | 0.375 s | 0.313 s | -0.062 s | 3.44 MiB | 3.54 MiB | + 106.36 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| PHP | 87.1% | 5,485 | 1,538 | 12 | |
| JSON | 6.1% | 387 | 0 | 1 | |
| SVG | 4.6% | 288 | 0 | 1 | |
| CSS | 1.9% | 122 | 0 | 1 | |
| JavaScript | 0.2% | 12 | 0 | 1 | |
| Total | 6,294 | 1,538 | 16 | ||
| Lines of code | 5,532 |
|---|---|
| Total complexity | 1,120 |
| 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 |
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.
wp_options 2{
"dashboard": {
"a2_optimized": {
"title": "",
"context": "normal"
},
"a2_optimized_kb": {
"title": "Have any questions? Search the A2 Hosting Knowledge Base for answers.",
"context": "normal"
}
}
}[09-Sep-2021 09:02:24 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
[09-Sep-2021 09:02:24 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
[09-Sep-2021 09:02:24 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
[09-Sep-2021 09:02:24 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