Does A2 Optimized WP work with WordPress 5.7.2 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: 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.
| WordPress version | 5.7.2 |
|---|---|
| PHP version | 7.4.8 |
| MySQL version | 8.0.21 |
| PHP memory limit | 256M |
| Last updated | |
|---|---|
| Active installs | 80,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=e2bedfe1ef |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.326 s |
| Memory usage | 2.84 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 | 0.464 s |
| Memory usage | 3.2 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.182 s |
| Memory usage | 2.68 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/index.php |
|---|---|
| Aspect | new-meta-boxes |
| HTTP status | 200 |
| Load time | 0.288 s |
| Memory usage | 2.95 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.262 s | 0.271 s | +0.009 s | 2.82 MiB | 2.95 MiB | + 133.51 KiB |
| /wp-admin/edit.php | 0.187 s | 0.202 s | +0.015 s | 2.86 MiB | 2.99 MiB | + 129.02 KiB |
| /wp-admin/post-new.php | 0.928 s | 1.091 s | +0.163 s | 5.02 MiB | 5.16 MiB | + 142.99 KiB |
| /wp-admin/upload.php | 0.508 s | 0.406 s | -0.102 s | 2.7 MiB | 2.82 MiB | + 128.48 KiB |
| /wp-admin/options-writing.php | 0.149 s | 0.145 s | -0.004 s | 2.71 MiB | 2.8 MiB | + 96.46 KiB |
| /wp-admin/media-new.php | 0.223 s | 0.156 s | -0.067 s | 2.67 MiB | 2.8 MiB | + 128.66 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.192 s | 0.202 s | +0.010 s | 2.77 MiB | 2.83 MiB | + 65.56 KiB |
| /wp-admin/post-new.php?post_type=page | 1.272 s | 0.650 s | -0.622 s | 5.01 MiB | 5.14 MiB | + 138.58 KiB |
| /wp-admin/options-discussion.php | 0.310 s | 0.288 s | -0.022 s | 2.67 MiB | 2.8 MiB | + 129.28 KiB |
| /wp-admin/edit-comments.php | 0.226 s | 0.209 s | -0.017 s | 2.78 MiB | 2.84 MiB | + 65.21 KiB |
| / | 0.261 s | 0.203 s | -0.058 s | 2.65 MiB | 2.68 MiB | + 25.51 KiB |
| Average | 0.411 s | 0.348 s | -0.063 s | 3.15 MiB | 3.26 MiB | + 107.57 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,484 | 1,524 | 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,293 | 1,524 | 16 | ||
| Lines of code | 5,531 |
|---|---|
| Total complexity | 1,102 |
| 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 | 289 |
| 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"
}
}
}[27-May-2021 18:51:17 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-May-2021 18:51:17 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
[27-May-2021 18:51:17 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
[27-May-2021 18:51:17 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