Adsense for AMP 3.0.2

Does Adsense for AMP work with WordPress 6.8.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
13Resource errors (CSS, JS, images, fonts and so on.)
  • 13 net::ERR_NAME_NOT_RESOLVED
Performance

Memory usage: 11.59 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/setup-adsense-for-amp/
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=setup-adsense-for-amp%2Fadsense-for-amp.php&plugin_status=all&paged=1&s&_wpnonce=8bedea7f8d
Aspect after-activation
HTTP status 200
Load time 0.262 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Adsense for AMP

Page screenshot: Adsense for AMP
URL /wp-admin/admin.php?page=setup-adsense-for-amp
Aspect menu-item
HTTP status 200
Load time 0.228 s
Memory usage 3.5 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "https://creativebrains.co.in/wp-content/themes/adsenseforamp/img/screenshot/within-the-content.png",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    },
    {
        "status": null,
        "statusText": null,
        "url": "https://creativebrains.co.in/wp-content/themes/adsenseforamp/img/screenshot/sticky-ads.png",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    },
    {
        "status": null,
        "statusText": null,
        "url": "https://creativebrains.co.in/wp-content/themes/adsenseforamp/img/screenshot/amp-header-menu.png",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    },
    {
        "status": null,
        "statusText": null,
        "url": "https://creativebrains.co.in/wp-content/themes/adsenseforamp/img/screenshot/amp-footer-menu.png",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    },
    {
        "status": null,
        "statusText": null,
        "url": "https://creativebrains.co.in/wp-content/themes/adsenseforamp/img/screenshot/recent-posts.png",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    },
    {
        "status": null,
        "statusText": null,
        "url": "https://creativebrains.co.in/wp-content/themes/adsenseforamp/img/screenshot/related-posts.png",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    },
    {
        "status": null,
        "statusText": null,
        "url": "https://creativebrains.co.in/wp-content/themes/adsenseforamp/img/screenshot/site-amp-logo.png",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    },
    {
        "status": null,
        "statusText": null,
        "url": "https://creativebrains.co.in/wp-content/themes/adsenseforamp/img/screenshot/social-share.png",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    },
    {
        "status": null,
        "statusText": null,
        "url": "https://creativebrains.co.in/wp-content/themes/adsenseforamp/img/screenshot/facebook-comments.png",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    },
    {
        "status": null,
        "statusText": null,
        "url": "https://creativebrains.co.in/wp-content/themes/adsenseforamp/img/screenshot/like-button.png",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    },
    {
        "status": null,
        "statusText": null,
        "url": "https://creativebrains.co.in/wp-content/themes/adsenseforamp/img/adsense-for-amp-pro-settings-page.png",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    },
    {
        "status": null,
        "statusText": null,
        "url": "https://creativebrains.co.in/wp-content/plugins/setup-adsense-for-amp/images/buy-now.png",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    },
    {
        "status": null,
        "statusText": null,
        "url": "https://creativebrains.co.in/whats-new/whats-new.png?342423",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    }
]

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.171 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.400 s0.292 s-0.108 s3.51 MiB3.52 MiB+ 18.12 KiB
/wp-admin/edit.php0.189 s0.179 s-0.010 s3.57 MiB3.59 MiB+ 18.16 KiB
/wp-admin/post-new.php0.746 s0.635 s-0.111 s6.06 MiB6.08 MiB+ 21.44 KiB
/wp-admin/upload.php0.577 s0.430 s-0.147 s3.52 MiB3.52 MiB+ 768 bytes
/wp-admin/options-writing.php0.211 s0.197 s-0.014 s3.5 MiB3.5 MiB+ 4.74 KiB
/wp-admin/media-new.php0.262 s0.237 s-0.025 s3.49 MiB3.5 MiB+ 12.94 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.191 s-0.007 s3.5 MiB3.53 MiB+ 23.61 KiB
/wp-admin/post-new.php?post_type=page0.590 s0.580 s-0.010 s6.05 MiB6.07 MiB+ 16.96 KiB
/wp-admin/options-discussion.php0.442 s0.370 s-0.072 s3.5 MiB3.5 MiB+ 1.24 KiB
/wp-admin/edit-comments.php0.231 s0.189 s-0.042 s3.52 MiB3.52 MiB+ 760 bytes
/0.284 s0.188 s-0.096 s3.43 MiB3.44 MiB+ 8.74 KiB
Average 0.375 s0.317 s-0.058 s3.97 MiB3.98 MiB+ 11.59 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
CSS
Language % Lines of code Comment lines Files
PHP82.9%5682214
CSS12.7%8701
JavaScript4.4%3041
Total 685 26 16

PHP Code Analysis | More results »

Lines of code 202
Total complexity 39
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function adsense_for_amp_options_page()
Classes 0
Methods 0
Functions 11

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.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Adsense for AMP" Admin Menu