AMP 2.5.5

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

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

Environment
WordPress version6.7.1
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 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=67900f6033
Aspect after-activation
HTTP status 200
Load time 0.658 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.981 s
Memory usage 5.81 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.296 s
Memory usage 8.85 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.213 s
Memory usage 5.4 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.180 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.275 s0.236 s-0.039 s3.48 MiB4.08 MiB+ 618.87 KiB
/wp-admin/edit.php0.175 s0.246 s+0.071 s3.54 MiB4.15 MiB+ 624.7 KiB
/wp-admin/post-new.php0.708 s1.116 s+0.408 s5.92 MiB6.63 MiB+ 718.57 KiB
/wp-admin/upload.php0.542 s0.521 s-0.021 s3.49 MiB4.06 MiB+ 573.63 KiB
/wp-admin/options-writing.php0.200 s0.178 s-0.022 s3.47 MiB4.04 MiB+ 578.89 KiB
/wp-admin/media-new.php0.247 s0.256 s+0.009 s3.46 MiB4.04 MiB+ 587.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.183 s+0.003 s3.48 MiB4.06 MiB+ 594.46 KiB
/wp-admin/post-new.php?post_type=page0.498 s0.589 s+0.091 s5.92 MiB6.61 MiB+ 712.41 KiB
/wp-admin/options-discussion.php0.272 s0.311 s+0.039 s3.47 MiB4.04 MiB+ 576.02 KiB
/wp-admin/edit-comments.php0.380 s0.218 s-0.162 s3.49 MiB4.06 MiB+ 574.9 KiB
/0.265 s0.208 s-0.057 s3.48 MiB3.81 MiB+ 340.82 KiB
Average 0.340 s0.369 s+0.029 s3.93 MiB4.51 MiB+ 590.94 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%60,40822,018261
SVG0.2%100017
JavaScript0.2%94627
CSS0.1%40038
Total 60,642 22,024 343

PHP Code Analysis | More results »

Lines of code 57,740
Total complexity 6,969
Median class complexity 14.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 179
Methods 1,452
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