AMP 2.1.4

Does AMP work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 718.18 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.038 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 500,000+
WordPress.org page https://wordpress.org/plugins/amp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=amp%2Famp.php&plugin_status=all&paged=1&s&_wpnonce=89b5f46b13
Aspect after-activation
HTTP status 200
Load time 1.363 s
Memory usage 8.33 MiB
JS errors None
Resource errors None

AMP

Page screenshot: AMP
URL /wp-admin/admin.php?page=amp-options
Aspect menu-item
HTTP status 200
Load time 0.582 s
Memory usage 5.96 MiB
JS errors None
Resource errors None

AMP → Validated URLs

Page screenshot: AMP → Validated URLs
URL /wp-admin/edit.php?post_type=amp_validated_url
Aspect menu-item
HTTP status 200
Load time 0.277 s
Memory usage 3.81 MiB
JS errors None
Resource errors None

AMP → Error Index

Page screenshot: AMP → Error Index
URL /wp-admin/edit-tags.php?taxonomy=amp_validation_error&post_type=amp_validated_url
Aspect menu-item
HTTP status 200
Load time 0.325 s
Memory usage 3.75 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.297 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.312 s0.268 s-0.044 s3.08 MiB3.79 MiB+ 726.88 KiB
/wp-admin/edit.php0.161 s0.183 s+0.022 s3.11 MiB3.83 MiB+ 737.87 KiB
/wp-admin/post-new.php0.992 s1.102 s+0.110 s5.27 MiB6.05 MiB+ 803.13 KiB
/wp-admin/upload.php0.504 s0.487 s-0.017 s3.03 MiB3.74 MiB+ 727.38 KiB
/wp-admin/options-writing.php0.260 s0.193 s-0.067 s3.02 MiB3.66 MiB+ 649.34 KiB
/wp-admin/media-new.php0.258 s0.215 s-0.043 s3.01 MiB3.72 MiB+ 729.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.193 s+0.018 s3.04 MiB3.75 MiB+ 731.29 KiB
/wp-admin/post-new.php?post_type=page0.698 s1.036 s+0.338 s5.26 MiB6.03 MiB+ 796.06 KiB
/wp-admin/options-discussion.php0.211 s0.269 s+0.058 s3 MiB3.65 MiB+ 664.38 KiB
/wp-admin/edit-comments.php0.192 s0.212 s+0.020 s3.04 MiB3.81 MiB+ 781.25 KiB
/0.326 s0.351 s+0.025 s2.96 MiB3.5 MiB+ 553.31 KiB
Average 0.372 s0.410 s+0.038 s3.44 MiB4.14 MiB+ 718.18 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
PHP99.6%53,32319,944240
SVG0.2%100017
JavaScript0.2%936425
CSS0.1%41035
Total 53,557 20,008 317

PHP Code Analysis | More results »

Lines of code 52,535
Total complexity 6,223
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 166
Methods 1,324
Functions 80

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 1

Custom Post Types 1

ID Name
amp_validated_urlAMP Validated URLs

Meta Boxes

{
    "amp_validated_url": {
        "amp_validation_status": {
            "title": "Status",
            "context": "side"
        },
        "amp_stylesheets": {
            "title": "Stylesheets",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide AMP Admin Menus and Meta Boxes