Easy Google Adsense and Banner Ads Manager - AdsforWP 1.9.30

Does "Easy Google Adsense and Banner Ads Manager - AdsforWP" work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

Page speed impact: 0.071 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 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=17eb55b6e0
Aspect after-activation
HTTP status 200
Load time 0.511 s
Memory usage 3.85 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.398 s
Memory usage 3.85 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.274 s
Memory usage 3.85 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.328 s
Memory usage 3.79 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.261 s
Memory usage 3.79 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.269 s
Memory usage 3.79 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.305 s
Memory usage 3.79 MiB
JS errors None
Resource errors None

Ads → Settings → Upgrade to Premium

Page screenshot: Ads → Settings →  Upgrade to  Premium
URL /wp-admin/admin.php?page=adsforwp&tab=pro
Aspect menu-item-tab
HTTP status 200
Load time 0.267 s
Memory usage 3.79 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.190 s
Memory usage 3.68 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.550 s
Memory usage 6.28 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.625 s
Memory usage 6.09 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.316 s0.358 s+0.042 s3.48 MiB3.84 MiB+ 371.8 KiB
/wp-admin/edit.php0.192 s0.297 s+0.105 s3.54 MiB3.93 MiB+ 396.95 KiB
/wp-admin/post-new.php0.697 s0.793 s+0.096 s5.92 MiB6.28 MiB+ 363.2 KiB
/wp-admin/upload.php0.494 s0.517 s+0.023 s3.49 MiB3.79 MiB+ 305.35 KiB
/wp-admin/options-writing.php0.196 s0.305 s+0.109 s3.47 MiB3.79 MiB+ 324.24 KiB
/wp-admin/media-new.php0.256 s0.284 s+0.028 s3.46 MiB3.79 MiB+ 332.49 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.305 s+0.115 s3.48 MiB3.81 MiB+ 337.7 KiB
/wp-admin/post-new.php?post_type=page0.520 s0.600 s+0.080 s5.92 MiB6.27 MiB+ 362.65 KiB
/wp-admin/options-discussion.php0.275 s0.444 s+0.169 s3.47 MiB3.79 MiB+ 321.37 KiB
/wp-admin/edit-comments.php0.196 s0.288 s+0.092 s3.49 MiB3.81 MiB+ 320.45 KiB
/0.261 s0.179 s-0.082 s3.48 MiB3.68 MiB+ 208.4 KiB
Average 0.327 s0.397 s+0.071 s3.93 MiB4.25 MiB+ 331.33 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
JavaScript
Language % Lines of code Comment lines Files
PHP81.4%11,55593125
JavaScript14.7%2,091777
CSS3.9%549293
Total 14,195 1,037 35

PHP Code Analysis | More results »

Lines of code 11,586
Total complexity 2,058
Median class complexity 56.0
Median method complexity 4.0
Most complex class Adsforwp_Output_Functions
Most complex function Adsforwp_Output_Functions::adsforwp_get_ad_code()
Classes 19
Methods 196
Functions 63

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

[23-Nov-2024 08:59:23 UTC] PHP Notice:  Function 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://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6114
See also: All tests for this plugin, How to Hide Easy Google Adsense and Banner Ads Manager - AdsforWP Admin Menus and Meta Boxes