Google Adsense & Banner Ads by AdsforWP 1.9.18

Does "Google Adsense & Banner Ads by AdsforWP" work with WordPress 5.9.3 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 1.14 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.9.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/ads-for-wp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 11

Ads ‹ Test site — WordPress

Page screenshot: Ads ‹ Test site — WordPress
URL /wp-admin/edit.php?post_type=adsforwp
Requested URL /wp-admin/plugins.php?action=activate&plugin=ads-for-wp%2Fads-for-wp.php&plugin_status=all&paged=1&s&_wpnonce=82d53ee90e
Aspect after-activation
HTTP status 200
Load time 1.032 s
Memory usage 4.58 MiB
JS errors None
Resource errors None

Ads

Page screenshot: Ads
URL /wp-admin/edit.php?post_type=adsforwp
Aspect menu-item
HTTP status 200
Load time 0.285 s
Memory usage 4.57 MiB
JS errors None
Resource errors None

Ads → Groups

Page screenshot: Ads → Groups
URL /wp-admin/edit.php?post_type=adsforwp-groups
Aspect menu-item
HTTP status 200
Load time 0.263 s
Memory usage 4.57 MiB
JS errors None
Resource errors None

Ads → Settings

Page screenshot: Ads → Settings
URL /wp-admin/edit.php?post_type=adsforwp&page=adsforwp
Aspect menu-item
HTTP status 200
Load time 0.270 s
Memory usage 4.51 MiB
JS errors None
Resource errors None

Ads → Settings → Tools

Page screenshot: Ads → Settings →  Tools
URL /wp-admin/admin.php?page=adsforwp&tab=tools
Aspect menu-item-tab
HTTP status 200
Load time 0.293 s
Memory usage 4.52 MiB
JS errors None
Resource errors None

Ads → Settings → Advanced

Page screenshot: Ads → Settings →  Advanced
URL /wp-admin/admin.php?page=adsforwp&tab=advance
Aspect menu-item-tab
HTTP status 200
Load time 0.290 s
Memory usage 4.52 MiB
JS errors None
Resource errors None

Ads → Settings → Support

Page screenshot: Ads → Settings →  Support
URL /wp-admin/admin.php?page=adsforwp&tab=support
Aspect menu-item-tab
HTTP status 200
Load time 0.287 s
Memory usage 4.51 MiB
JS errors None
Resource errors None

Ads → Analytics

Page screenshot: Ads → Analytics
URL /wp-admin/edit.php?post_type=adsforwp&page=adsforwp-analytics
Aspect menu-item
HTTP status 200
Load time 0.245 s
Memory usage 4.5 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.854 s
Memory usage 3.63 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.722 s
Memory usage 6.83 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.555 s
Memory usage 6.27 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.330 s0.526 s+0.196 s3.37 MiB4.59 MiB+ 1.22 MiB
/wp-admin/edit.php0.181 s0.311 s+0.130 s3.4 MiB4.6 MiB+ 1.2 MiB
/wp-admin/post-new.php0.783 s1.023 s+0.240 s5.68 MiB6.83 MiB+ 1.15 MiB
/wp-admin/upload.php0.371 s0.420 s+0.049 s3.25 MiB4.5 MiB+ 1.25 MiB
/wp-admin/options-writing.php0.236 s0.244 s+0.008 s3.24 MiB4.5 MiB+ 1.26 MiB
/wp-admin/media-new.php0.259 s0.272 s+0.013 s3.23 MiB4.5 MiB+ 1.28 MiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.291 s+0.100 s3.27 MiB4.54 MiB+ 1.27 MiB
/wp-admin/post-new.php?post_type=page0.639 s0.785 s+0.146 s5.68 MiB6.82 MiB+ 1.14 MiB
/wp-admin/options-discussion.php0.238 s0.471 s+0.233 s3.22 MiB4.5 MiB+ 1.28 MiB
/wp-admin/edit-comments.php0.213 s0.335 s+0.122 s3.27 MiB4.54 MiB+ 1.27 MiB
/0.287 s0.240 s-0.047 s3.4 MiB3.63 MiB+ 234.39 KiB
Average 0.339 s0.447 s+0.108 s3.73 MiB4.87 MiB+ 1.14 MiB

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
PHP90.8%23,7994,44665
JavaScript7.6%1,982646
CSS1.6%417242
Total 26,198 4,534 73

PHP Code Analysis | More results »

Lines of code 23,861
Total complexity 4,226
Median class complexity 8.0
Median method complexity 1.0
Most complex class adsforwp_output_functions
Most complex function adsforwp_output_functions::adsforwp_get_ad_code()
Classes 201
Methods 1,815
Functions 67

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.

Database Tables 1

Options wp_options 4

Custom Post Types 2

ID Name
adsforwpAds
adsforwp-groupsGroups

Sidebar Widgets 1

ID Name
adsforwp_ads_widgetAds For WP Ads

Meta Boxes

{
    "post": {
        "showadsforcurrentpag": {
            "title": "Show Ads for Current Page?",
            "context": "side"
        }
    },
    "adsforwp": {
        "adtype": {
            "title": "Ad Type",
            "context": "normal"
        },
        "display-metabox": {
            "title": "Display",
            "context": "normal"
        },
        "adsforwp_placement_metabox": {
            "title": "Advanced Display Conditions",
            "context": "normal"
        },
        "adsforwp_visitor_condition_metabox": {
            "title": "User Targeting",
            "context": "normal"
        },
        "setexpiredate": {
            "title": "Set Expire Date",
            "context": "side"
        },
        "adsforwp-location": {
            "title": "AMP",
            "context": "side"
        }
    },
    "adsforwp-groups": {
        "display-metabox": {
            "title": "Display",
            "context": "normal"
        },
        "adsforwp_placement_metabox": {
            "title": "Advanced Display Conditions",
            "context": "normal"
        },
        "adsforwp_visitor_condition_metabox": {
            "title": "User Targeting",
            "context": "normal"
        },
        "adgroup": {
            "title": "Ad Group",
            "context": "advanced"
        },
        "setexpiredate": {
            "title": "Set Expire Date",
            "context": "side"
        },
        "adsforwp-location": {
            "title": "AMP",
            "context": "side"
        }
    }
}

PHP Error Log 1 lines

[09-May-2022 13:44:22 UTC] PHP Notice:  wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5775
See also: All tests for this plugin, How to Hide Easy Google Adsense and Banner Ads Manager - AdsforWP Admin Menus and Meta Boxes