AMP 2.2.3

Does AMP work with WordPress 5.9.3 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: 829.41 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.

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

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=a4552e3d2c
Aspect after-activation
HTTP status 200
Load time 1.064 s
Memory usage 8.8 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 1.566 s
Memory usage 5.83 MiB
JS errors None
Resource errors None

AMP → Support

Page screenshot: AMP → Support
URL /wp-admin/admin.php?page=amp-support
Aspect menu-item
HTTP status 200
Load time 0.353 s
Memory usage 5.92 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.308 s
Memory usage 7.77 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.248 s
Memory usage 5.26 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.285 s
Memory usage 3.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.379 s0.330 s-0.049 s3.37 MiB4.15 MiB+ 803.08 KiB
/wp-admin/edit.php0.190 s0.235 s+0.045 s3.4 MiB4.19 MiB+ 813.05 KiB
/wp-admin/post-new.php1.084 s1.434 s+0.350 s5.65 MiB6.53 MiB+ 892.97 KiB
/wp-admin/upload.php0.565 s0.518 s-0.047 s3.25 MiB4.1 MiB+ 872.42 KiB
/wp-admin/options-writing.php0.312 s0.174 s-0.138 s3.24 MiB4.05 MiB+ 825.91 KiB
/wp-admin/media-new.php0.245 s0.242 s-0.003 s3.23 MiB4.08 MiB+ 874.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.208 s+0.010 s3.27 MiB4.11 MiB+ 868.33 KiB
/wp-admin/post-new.php?post_type=page1.367 s1.032 s-0.335 s5.65 MiB6.52 MiB+ 887.99 KiB
/wp-admin/options-discussion.php0.223 s0.281 s+0.058 s3.22 MiB4.01 MiB+ 809.42 KiB
/wp-admin/edit-comments.php0.249 s0.242 s-0.007 s3.27 MiB4.11 MiB+ 865.91 KiB
/0.268 s0.243 s-0.025 s3.4 MiB3.99 MiB+ 610.27 KiB
Average 0.462 s0.449 s-0.013 s3.72 MiB4.53 MiB+ 829.41 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.5%61,41122,349265
JavaScript0.2%1327929
SVG0.2%100017
CSS0.1%46040
Total 61,689 22,428 351

PHP Code Analysis | More results »

Lines of code 58,615
Total complexity 7,208
Median class complexity 15.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 182
Methods 1,500
Functions 91

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