Does AMP work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .
| No PHP errors, warnings or notices | |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors | |
| Looks good! No problems were detected. |
Memory usage: 700.36 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.047 seconds
The average page load time increased by this amount after activating the plugin.
| WordPress version | 5.7.2 |
|---|---|
| PHP version | 7.4.8 |
| MySQL version | 8.0.21 |
| PHP memory limit | 256M |
| Last updated | |
|---|---|
| Active installs | 400,000+ |
| WordPress.org page | https://wordpress.org/plugins/amp/ |
| Badges |
|
| URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
|---|---|
| Requested URL | /wp-admin/plugins.php?action=activate&plugin=amp%2Famp.php&plugin_status=all&paged=1&s&_wpnonce=d0a4e61604 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 2.458 s |
| Memory usage | 7.97 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/admin.php?page=amp-options |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 1.104 s |
| Memory usage | 5.53 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/edit.php?post_type=amp_validated_url |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.289 s |
| Memory usage | 3.45 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/edit-tags.php?taxonomy=amp_validation_error&post_type=amp_validated_url |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.305 s |
| Memory usage | 3.4 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.236 s |
| Memory usage | 3.23 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.278 s | 0.691 s | +0.413 s | 2.82 MiB | 3.5 MiB | + 698.91 KiB |
| /wp-admin/edit.php | 0.181 s | 0.269 s | +0.088 s | 2.86 MiB | 3.54 MiB | + 696.7 KiB |
| /wp-admin/post-new.php | 0.965 s | 1.613 s | +0.648 s | 5.02 MiB | 5.83 MiB | + 824.6 KiB |
| /wp-admin/upload.php | 0.551 s | 0.515 s | -0.036 s | 2.7 MiB | 3.37 MiB | + 695.05 KiB |
| /wp-admin/options-writing.php | 0.252 s | 0.221 s | -0.031 s | 2.71 MiB | 3.36 MiB | + 665.38 KiB |
| /wp-admin/media-new.php | 0.220 s | 0.224 s | +0.004 s | 2.67 MiB | 3.35 MiB | + 694.85 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.189 s | 0.247 s | +0.058 s | 2.77 MiB | 3.39 MiB | + 636.57 KiB |
| /wp-admin/post-new.php?post_type=page | 1.366 s | 0.828 s | -0.538 s | 5.01 MiB | 5.81 MiB | + 817.53 KiB |
| /wp-admin/options-discussion.php | 0.326 s | 0.246 s | -0.080 s | 2.67 MiB | 3.35 MiB | + 696.41 KiB |
| /wp-admin/edit-comments.php | 0.232 s | 0.250 s | +0.018 s | 2.78 MiB | 3.44 MiB | + 684.57 KiB |
| / | 0.287 s | 0.256 s | -0.031 s | 2.65 MiB | 3.23 MiB | + 593.43 KiB |
| Average | 0.441 s | 0.487 s | +0.047 s | 3.15 MiB | 3.84 MiB | + 700.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 | 99.6% | 51,917 | 19,783 | 238 | |
| SVG | 0.2% | 100 | 0 | 17 | |
| JavaScript | 0.1% | 72 | 43 | 25 | |
| CSS | 0.1% | 41 | 0 | 35 | |
| Total | 52,130 | 19,826 | 315 | ||
| Lines of code | 51,108 |
|---|---|
| Total complexity | 6,178 |
| Median class complexity | 14.0 |
| Median method complexity | 2.0 |
| Most complex class | AMP_Validation_Error_Taxonomy |
| Most complex function | AMP_Validation_Error_Taxonomy::get_error_title_from_code() |
| Classes | 165 |
|---|---|
| Methods | 1,314 |
| Functions | 80 |
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 1| ID | Name |
|---|---|
| amp_validated_url | AMP Validated URLs |
{
"amp_validated_url": {
"amp_validation_status": {
"title": "Status",
"context": "side"
},
"amp_stylesheets": {
"title": "Stylesheets",
"context": "normal"
}
}
}The log file is empty.