AMP Blocks 1.6.3

Does AMP Blocks work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
6PHP deprecation warnings
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 54.14 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+
WordPress.org page https://wordpress.org/plugins/amp-blocks/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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-blocks%2Famp-blocks.php&plugin_status=all&paged=1&s&_wpnonce=9a73d35edb
Aspect after-activation
HTTP status 200
Load time 0.394 s
Memory usage 7.31 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.208 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.657 s
Memory usage 5.54 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'appendChild')\n    at HTMLDocument.a (/wp-content/plugins/amp-blocks/dist/blocks.build.js?ver=1.6.3:1:1625414)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.327 s0.309 s-0.018 s3.38 MiB3.44 MiB+ 61.97 KiB
/wp-admin/edit.php0.219 s0.194 s-0.025 s3.41 MiB3.47 MiB+ 61.61 KiB
/wp-admin/post-new.php0.862 s0.963 s+0.101 s5.46 MiB5.54 MiB+ 88.1 KiB
/wp-admin/upload.php0.500 s0.479 s-0.021 s3.32 MiB3.37 MiB+ 44.25 KiB
/wp-admin/options-writing.php0.216 s0.255 s+0.039 s3.32 MiB3.35 MiB+ 36.84 KiB
/wp-admin/media-new.php0.292 s0.282 s-0.010 s3.3 MiB3.35 MiB+ 56.44 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.170 s-0.024 s3.31 MiB3.37 MiB+ 61.61 KiB
/wp-admin/post-new.php?post_type=page0.544 s0.675 s+0.131 s5.45 MiB5.53 MiB+ 83.32 KiB
/wp-admin/options-discussion.php0.254 s0.261 s+0.007 s3.3 MiB3.35 MiB+ 44.74 KiB
/wp-admin/edit-comments.php0.241 s0.312 s+0.071 s3.34 MiB3.38 MiB+ 44.24 KiB
/0.297 s0.205 s-0.092 s3.36 MiB3.37 MiB+ 12.46 KiB
Average 0.359 s0.373 s+0.014 s3.72 MiB3.78 MiB+ 54.14 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.

JavaScript
CSS
PHP
Language % Lines of code Comment lines Files
JavaScript56.7%2,3321397
CSS25.2%1,0381712
PHP18.0%7421734
Total 4,112 329 23

PHP Code Analysis | More results »

Lines of code 742
Total complexity 139
Median class complexity 40.0
Median method complexity 2.0
Most complex class AMPBLOCKS_Gutenberg
Most complex function Aq_Resize::process()
Classes 3
Methods 15
Functions 6

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.

Meta Boxes

{
    "post": {
        "pageparentdiv": {
            "title": "Post Attributes",
            "context": "side"
        }
    }
}

PHP Error Log 6 lines

[04-Feb-2024 01:04:48 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6031
[04-Feb-2024 01:04:48 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6031
[04-Feb-2024 01:04:52 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6031
[04-Feb-2024 01:04:52 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6031
[04-Feb-2024 01:04:56 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6031
[04-Feb-2024 01:04:56 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6031
See also: All tests for this plugin, How to Hide the "Post Attributes" Meta Box