Does Autoptimize work with WordPress 5.8.2 and PHP 7.4.8? A smoke test was performed on .
| 14 | PHP notices |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
Memory usage: 133.09 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.2 |
|---|---|
| PHP version | 7.4.8 |
| MySQL version | 8.0.21 |
| PHP memory limit | 256M |
| Last updated | |
|---|---|
| Active installs | 900,000+ |
| WordPress.org page | https://wordpress.org/plugins/autoptimize/ |
| Badges |
|
| URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
|---|---|
| Requested URL | /wp-admin/plugins.php?action=activate&plugin=autoptimize%2Fautoptimize.php&plugin_status=all&paged=1&s&_wpnonce=148d0dafdb |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.458 s |
| Memory usage | 3.25 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/options-general.php?page=autoptimize |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 1.041 s |
| Memory usage | 5.48 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/options-general.php?page=autoptimize_imgopt |
|---|---|
| Aspect | menu-item-tab |
| HTTP status | 200 |
| Load time | 0.183 s |
| Memory usage | 3.14 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/options-general.php?page=ao_critcss |
|---|---|
| Aspect | menu-item-tab |
| HTTP status | 200 |
| Load time | 0.734 s |
| Memory usage | 3.26 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/options-general.php?page=autoptimize_extra |
|---|---|
| Aspect | menu-item-tab |
| HTTP status | 200 |
| Load time | 0.196 s |
| Memory usage | 3.14 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/options-general.php?page=ao_partners |
|---|---|
| Aspect | menu-item-tab |
| HTTP status | 200 |
| Load time | 0.807 s |
| Memory usage | 3.4 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.249 s |
| Memory usage | 2.97 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/post-new.php |
|---|---|
| Aspect | new-meta-boxes |
| HTTP status | 200 |
| Load time | 0.644 s |
| Memory usage | 5.41 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/post-new.php?post_type=page |
|---|---|
| Aspect | new-meta-boxes |
| HTTP status | 200 |
| Load time | 0.646 s |
| Memory usage | 5.39 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.289 s | 0.263 s | -0.026 s | 3.08 MiB | 3.22 MiB | + 139.54 KiB |
| /wp-admin/edit.php | 0.175 s | 0.195 s | +0.020 s | 3.11 MiB | 3.31 MiB | + 204.91 KiB |
| /wp-admin/post-new.php | 0.745 s | 0.902 s | +0.157 s | 5.27 MiB | 5.41 MiB | + 144.23 KiB |
| /wp-admin/upload.php | 0.486 s | 0.588 s | +0.102 s | 3.03 MiB | 3.16 MiB | + 138.38 KiB |
| /wp-admin/options-writing.php | 0.254 s | 0.173 s | -0.081 s | 3.02 MiB | 3.14 MiB | + 123.63 KiB |
| /wp-admin/media-new.php | 0.332 s | 0.206 s | -0.126 s | 3.01 MiB | 3.14 MiB | + 139.48 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.173 s | 0.200 s | +0.027 s | 3.04 MiB | 3.18 MiB | + 140.39 KiB |
| /wp-admin/post-new.php?post_type=page | 0.610 s | 0.640 s | +0.030 s | 5.26 MiB | 5.39 MiB | + 139.84 KiB |
| /wp-admin/options-discussion.php | 0.210 s | 0.270 s | +0.060 s | 3 MiB | 3.14 MiB | + 141.07 KiB |
| /wp-admin/edit-comments.php | 0.202 s | 0.219 s | +0.017 s | 3.04 MiB | 3.18 MiB | + 138.42 KiB |
| / | 0.265 s | 0.225 s | -0.040 s | 2.96 MiB | 2.97 MiB | + 14.13 KiB |
| Average | 0.340 s | 0.353 s | +0.013 s | 3.44 MiB | 3.57 MiB | + 133.09 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 | 92.1% | 9,676 | 2,848 | 38 | |
| CSS | 6.4% | 668 | 9 | 4 | |
| JavaScript | 1.6% | 165 | 11 | 3 | |
| HTML | 0.0% | 1 | 0 | 1 | |
| Total | 10,510 | 2,868 | 46 | ||
| Lines of code | 8,978 |
|---|---|
| Total complexity | 2,185 |
| Median class complexity | 69.5 |
| Median method complexity | 3.0 |
| Most complex class | autoptimizeImages |
| Most complex function | autoptimizeConfig::show_config() |
| Classes | 26 |
|---|---|
| Methods | 348 |
| Functions | 10 |
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{
"post": {
"ao_metabox": {
"title": "Autoptimize this page",
"context": "side"
}
},
"page": {
"ao_metabox": {
"title": "Autoptimize this page",
"context": "side"
}
}
}[28-Dec-2021 04:57:05 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 1098
[28-Dec-2021 04:57:05 UTC] PHP Notice: Trying to access array offset on value of type null in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 1098
[28-Dec-2021 04:57:05 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 1107
[28-Dec-2021 04:57:05 UTC] PHP Notice: Trying to access array offset on value of type null in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 1107
[28-Dec-2021 04:57:05 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 1153
[28-Dec-2021 04:57:05 UTC] PHP Notice: Trying to access array offset on value of type null in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 1153
[28-Dec-2021 04:57:08 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 214
[28-Dec-2021 04:57:08 UTC] PHP Notice: Trying to access array offset on value of type null in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 214
[28-Dec-2021 04:57:08 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 215
[28-Dec-2021 04:57:08 UTC] PHP Notice: Trying to access array offset on value of type null in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 215
[28-Dec-2021 04:57:14 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 214
[28-Dec-2021 04:57:14 UTC] PHP Notice: Trying to access array offset on value of type null in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 214
[28-Dec-2021 04:57:14 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 215
[28-Dec-2021 04:57:14 UTC] PHP Notice: Trying to access array offset on value of type null in /wp-content/plugins/autoptimize/classes/autoptimizeImages.php on line 215