Easy Google Adsense and Banner Ads Manager – AdsforWP 1.9.16.2

Does "Ads for WP - Advanced Ads & Adsense Solution for WP & AMP" work with WordPress 5.9.3 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP notices
1PHP deprecation warnings
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.134 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=6ad8a60733
Aspect after-activation
HTTP status 200
Load time 0.721 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.346 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.289 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.283 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.280 s
Memory usage 4.51 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.296 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.320 s
Memory usage 4.52 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.259 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.324 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 1.006 s
Memory usage 6.8 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.628 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.342 s0.673 s+0.331 s3.37 MiB4.59 MiB+ 1.22 MiB
/wp-admin/edit.php0.180 s0.377 s+0.197 s3.4 MiB4.6 MiB+ 1.2 MiB
/wp-admin/post-new.php0.921 s1.143 s+0.222 s5.65 MiB6.8 MiB+ 1.15 MiB
/wp-admin/upload.php0.398 s0.443 s+0.045 s3.25 MiB4.5 MiB+ 1.25 MiB
/wp-admin/options-writing.php0.221 s0.516 s+0.295 s3.24 MiB4.5 MiB+ 1.26 MiB
/wp-admin/media-new.php0.226 s0.285 s+0.059 s3.23 MiB4.5 MiB+ 1.27 MiB
/wp-admin/edit-tags.php?taxonomy=category0.172 s0.296 s+0.124 s3.27 MiB4.54 MiB+ 1.27 MiB
/wp-admin/post-new.php?post_type=page1.032 s1.010 s-0.022 s5.65 MiB6.79 MiB+ 1.14 MiB
/wp-admin/options-discussion.php0.297 s0.469 s+0.172 s3.22 MiB4.5 MiB+ 1.28 MiB
/wp-admin/edit-comments.php0.195 s0.335 s+0.140 s3.27 MiB4.54 MiB+ 1.27 MiB
/0.297 s0.213 s-0.084 s3.4 MiB3.63 MiB+ 234.59 KiB
Average 0.389 s0.524 s+0.134 s3.72 MiB4.86 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,7974,44665
JavaScript7.6%1,982646
CSS1.6%417242
Total 26,196 4,534 73

PHP Code Analysis | More results »

Lines of code 23,859
Total complexity 4,223
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 2 lines

[06-Apr-2022 23:19:42 UTC] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /wp-content/plugins/ads-for-wp/admin/inc/Google/Utils.php on line 67
[06-Apr-2022 23:20:01 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