AMP 2.5.4

Does AMP work with WordPress 6.6.2 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: 613.95 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.6.2
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=a3678b9baa
Aspect after-activation
HTTP status 200
Load time 0.599 s
Memory usage 9.14 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.351 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.344 s
Memory usage 5.78 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.270 s
Memory usage 8.49 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.201 s
Memory usage 5.39 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.211 s
Memory usage 3.81 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.332 s0.303 s-0.029 s3.47 MiB4.06 MiB+ 598.63 KiB
/wp-admin/edit.php0.192 s0.194 s+0.002 s3.54 MiB4.15 MiB+ 630.54 KiB
/wp-admin/post-new.php0.686 s0.743 s+0.057 s5.75 MiB6.46 MiB+ 724.29 KiB
/wp-admin/upload.php0.487 s0.472 s-0.015 s3.49 MiB4.06 MiB+ 581.37 KiB
/wp-admin/options-writing.php0.174 s0.203 s+0.029 s3.41 MiB4.04 MiB+ 645.43 KiB
/wp-admin/media-new.php0.252 s0.251 s-0.001 s3.4 MiB4.04 MiB+ 658.81 KiB
/wp-admin/edit-tags.php?taxonomy=category0.159 s0.198 s+0.039 s3.47 MiB4.06 MiB+ 602.19 KiB
/wp-admin/post-new.php?post_type=page0.543 s0.592 s+0.049 s5.75 MiB6.45 MiB+ 718.18 KiB
/wp-admin/options-discussion.php0.199 s0.431 s+0.232 s3.41 MiB4.04 MiB+ 647.74 KiB
/wp-admin/edit-comments.php0.210 s0.250 s+0.040 s3.49 MiB4.06 MiB+ 582.62 KiB
/0.274 s0.212 s-0.062 s3.45 MiB3.81 MiB+ 363.71 KiB
Average 0.319 s0.350 s+0.031 s3.88 MiB4.47 MiB+ 613.95 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%61,70522,487266
JavaScript0.2%108829
SVG0.2%100017
CSS0.1%42040
Total 61,955 22,495 352

PHP Code Analysis | More results »

Lines of code 58,660
Total complexity 7,188
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 183
Methods 1,490
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