AMP 2.5.3

Does AMP work with WordPress 6.5.5 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: 605.44 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.5.5
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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 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=11a69f0c84
Aspect after-activation
HTTP status 200
Load time 0.620 s
Memory usage 9.13 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.393 s
Memory usage 5.8 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.361 s
Memory usage 5.7 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.299 s
Memory usage 8.78 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.230 s
Memory usage 5.3 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.240 s
Memory usage 3.79 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.168 s0.575 s-0.593 s3.44 MiB4.02 MiB+ 601.11 KiB
/wp-admin/edit.php0.248 s0.233 s-0.015 s3.46 MiB4.12 MiB+ 672.03 KiB
/wp-admin/post-new.php1.176 s0.749 s-0.427 s5.59 MiB6.32 MiB+ 746.2 KiB
/wp-admin/upload.php0.678 s0.489 s-0.189 s3.38 MiB3.95 MiB+ 579.88 KiB
/wp-admin/options-writing.php0.231 s0.231 s+0.000 s3.37 MiB3.93 MiB+ 574.09 KiB
/wp-admin/media-new.php0.292 s0.282 s-0.010 s3.35 MiB3.93 MiB+ 593.27 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.228 s+0.036 s3.37 MiB3.96 MiB+ 601.43 KiB
/wp-admin/post-new.php?post_type=page0.576 s0.914 s+0.338 s5.59 MiB6.31 MiB+ 740.09 KiB
/wp-admin/options-discussion.php0.362 s0.328 s-0.034 s3.36 MiB3.93 MiB+ 584.16 KiB
/wp-admin/edit-comments.php0.262 s0.249 s-0.013 s3.39 MiB3.96 MiB+ 582.27 KiB
/0.357 s0.301 s-0.056 s3.42 MiB3.79 MiB+ 385.34 KiB
Average 0.504 s0.416 s-0.088 s3.79 MiB4.38 MiB+ 605.44 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,49922,870268
JavaScript0.2%108629
SVG0.2%100017
CSS0.1%42040
Total 62,749 22,876 354

PHP Code Analysis | More results »

Lines of code 59,458
Total complexity 7,353
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