AMP 2.0.10

Does AMP work with WordPress 5.6.2 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: 534.7 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.6.2
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 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=2af78ae9fb
Aspect after-activation
HTTP status 200
Load time 1.769 s
Memory usage 7.34 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.809 s
Memory usage 5.35 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.255 s
Memory usage 3.34 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.252 s
Memory usage 3.21 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.253 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.270 s0.272 s+0.002 s2.79 MiB3.32 MiB+ 541.2 KiB
/wp-admin/edit.php0.184 s0.205 s+0.021 s2.84 MiB3.36 MiB+ 538.41 KiB
/wp-admin/post-new.php0.918 s1.020 s+0.102 s4.93 MiB5.53 MiB+ 607.64 KiB
/wp-admin/upload.php0.478 s0.459 s-0.019 s2.67 MiB3.19 MiB+ 539.87 KiB
/wp-admin/options-writing.php0.170 s0.195 s+0.025 s2.68 MiB3.18 MiB+ 506.82 KiB
/wp-admin/media-new.php0.224 s0.190 s-0.034 s2.64 MiB3.17 MiB+ 537.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.195 s+0.005 s2.68 MiB3.21 MiB+ 541.39 KiB
/wp-admin/post-new.php?post_type=page1.061 s0.641 s-0.420 s4.92 MiB5.51 MiB+ 601.2 KiB
/wp-admin/options-discussion.php0.295 s0.234 s-0.061 s2.65 MiB3.17 MiB+ 537.86 KiB
/wp-admin/edit-comments.php0.277 s0.219 s-0.058 s2.75 MiB3.26 MiB+ 527.38 KiB
/0.278 s0.251 s-0.027 s2.67 MiB3.06 MiB+ 402.45 KiB
Average 0.395 s0.353 s-0.042 s3.11 MiB3.63 MiB+ 534.7 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
PHP95.6%48,26217,521202
CSS3.9%1,99213933
SVG0.4%191212
JavaScript0.1%633524
Total 50,508 17,697 271

PHP Code Analysis | More results »

Lines of code 47,474
Total complexity 5,709
Median class complexity 14.0
Median method complexity 3.0
Most complex class AMP_Validation_Error_Taxonomy
Most complex function AMP_Validation_Error_Taxonomy::get_error_title_from_code()
Classes 133
Methods 1,124
Functions 77

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