AMP 2.5.2

Does AMP work with WordPress 6.4.3 and PHP 8.1.12? 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: 598.19 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 version6.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=4e7af0b119
Aspect after-activation
HTTP status 200
Load time 0.675 s
Memory usage 8.68 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 2.224 s
Memory usage 5.61 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.385 s
Memory usage 5.57 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.334 s
Memory usage 8.63 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.217 s
Memory usage 5.16 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.237 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.411 s0.632 s+0.221 s3.38 MiB3.97 MiB+ 600.98 KiB
/wp-admin/edit.php0.231 s0.215 s-0.016 s3.41 MiB4.06 MiB+ 671.91 KiB
/wp-admin/post-new.php0.935 s1.087 s+0.152 s5.46 MiB6.16 MiB+ 715.05 KiB
/wp-admin/upload.php0.601 s0.462 s-0.139 s3.32 MiB3.89 MiB+ 582.93 KiB
/wp-admin/options-writing.php0.256 s0.223 s-0.033 s3.32 MiB3.88 MiB+ 574.58 KiB
/wp-admin/media-new.php0.346 s0.274 s-0.072 s3.3 MiB3.87 MiB+ 593.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.217 s0.212 s-0.005 s3.31 MiB3.9 MiB+ 601.3 KiB
/wp-admin/post-new.php?post_type=page0.623 s0.861 s+0.238 s5.45 MiB6.14 MiB+ 708.95 KiB
/wp-admin/options-discussion.php0.503 s0.330 s-0.173 s3.3 MiB3.87 MiB+ 582.59 KiB
/wp-admin/edit-comments.php0.250 s0.252 s+0.002 s3.34 MiB3.9 MiB+ 582.14 KiB
/0.306 s0.253 s-0.053 s3.36 MiB3.72 MiB+ 366.47 KiB
Average 0.425 s0.436 s+0.011 s3.72 MiB4.31 MiB+ 598.19 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%62,48822,869268
JavaScript0.2%108629
SVG0.2%100017
CSS0.1%42040
Total 62,738 22,875 354

PHP Code Analysis | More results »

Lines of code 59,447
Total complexity 7,350
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 185
Methods 1,521
Functions 92

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