Ad Invalid Click Protector 1.2.9

Does Ad Invalid Click Protector work with WordPress 6.5.5 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
26PHP warnings
1Database errors
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.5.5
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/ad-invalid-click-protector/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=ad-invalid-click-protector%2Fadsense-invalid-click-protector.php&plugin_status=all&paged=1&s&_wpnonce=1b838458ed
Aspect after-activation
HTTP status 200
Load time 2.915 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

AdSense Invalid Click Protector

Page screenshot: AdSense Invalid Click Protector
URL /wp-admin/admin.php?page=aicp_settings
Aspect menu-item
HTTP status 200
Load time 1.599 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

AdSense Invalid Click Protector → Banned User Details

Page screenshot: AdSense Invalid Click Protector → Banned User Details
URL /wp-admin/admin.php?page=aicp_banned_user_details
Aspect menu-item
HTTP status 200
Load time 0.376 s
Memory usage 3.39 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 1.264 s
Memory usage 3.4 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'removeChild')\n    at HTMLScriptElement.removeScript (eval at <anonymous> (/:1:1), <anonymous>:6:34)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.603 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.323 s0.510 s+0.187 s3.44 MiB3.49 MiB+ 55.75 KiB
/wp-admin/edit.php0.189 s0.170 s-0.019 s3.46 MiB3.51 MiB+ 53.62 KiB
/wp-admin/post-new.php0.848 s0.562 s-0.286 s5.59 MiB5.64 MiB+ 46.02 KiB
/wp-admin/upload.php0.494 s0.448 s-0.046 s3.38 MiB3.4 MiB+ 24.46 KiB
/wp-admin/options-writing.php0.182 s0.180 s-0.002 s3.37 MiB3.39 MiB+ 16.33 KiB
/wp-admin/media-new.php0.254 s0.263 s+0.009 s3.35 MiB3.39 MiB+ 36.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.174 s-0.006 s3.37 MiB3.41 MiB+ 41.82 KiB
/wp-admin/post-new.php?post_type=page0.508 s0.550 s+0.042 s5.59 MiB5.63 MiB+ 41.61 KiB
/wp-admin/options-discussion.php0.293 s0.251 s-0.042 s3.36 MiB3.38 MiB+ 24.86 KiB
/wp-admin/edit-comments.php0.279 s0.204 s-0.075 s3.39 MiB3.42 MiB+ 24.49 KiB
/0.273 s0.837 s+0.564 s3.42 MiB3.4 MiB- 17.58 KiB
Average 0.348 s0.377 s+0.030 s3.79 MiB3.82 MiB+ 31.64 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
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP55.1%1,1662445
PO File26.2%5551503
JavaScript14.7%310643
CSS4.0%8551
Total 2,116 463 12

PHP Code Analysis | More results »

Lines of code 1,182
Total complexity 222
Median class complexity 18.0
Median method complexity 1.0
Most complex class AICP_ADMIN
Most complex function check_cms_configuration_files()
Classes 4
Methods 41
Functions 24

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 2

Meta Boxes

{
    "dashboard": {
        "aicp_status_dashboard": {
            "title": "AICP Blocked User Statistics",
            "context": "normal"
        }
    }
}

PHP Error Log 27 lines

[28-Jun-2024 10:25:04 UTC] WordPress database error Can't DROP COLUMN `country_name`; check that it exists for query ALTER TABLE wp_adsense_invalid_click_protector DROP COLUMN country_name, DROP COLUMN country_code; made by activate_plugin, do_action('activate_ad-invalid-click-protector/adsense-invalid-click-protector.php'), WP_Hook->do_action, WP_Hook->apply_filters, AICP_SETUP::on_activation
[28-Jun-2024 10:25:04 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/data/wordpress): Failed to open directory: Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:04 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:04 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 605
[28-Jun-2024 10:25:04 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/data/mysql): Failed to open directory: Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:04 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:04 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 605
[28-Jun-2024 10:25:04 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/data/performance_schema): Failed to open directory: Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:04 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:04 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 605
[28-Jun-2024 10:25:04 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/data/sys): Failed to open directory: Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:04 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:04 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 605
[28-Jun-2024 10:25:04 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/data/test): Failed to open directory: Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:04 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:04 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 605
[28-Jun-2024 10:25:05 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/lib/plugin/auth_pam_tool_dir): Failed to open directory: Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:05 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:05 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 605
[28-Jun-2024 10:25:05 UTC] PHP Warning:  scandir(/opt/bitnami/mariadb/plugin/auth_pam_tool_dir): Failed to open directory: Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:05 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:05 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 605
[28-Jun-2024 10:25:05 UTC] PHP Warning:  scandir(/opt/bitnami/var/data): Failed to open directory: Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:05 UTC] PHP Warning:  scandir(): (errno 13): Permission denied in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 604
[28-Jun-2024 10:25:05 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 605
[28-Jun-2024 10:25:05 UTC] PHP Warning:  Undefined variable $password in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 156
[28-Jun-2024 10:25:05 UTC] PHP Warning:  mysqli::__construct(): (HY000/1045): Access denied for user 'username_here'@'localhost' (using password: NO) in /wp-content/plugins/ad-invalid-click-protector/adsense-invalid-click-protector.php on line 165
See also: All tests for this plugin, How to Hide Ad Invalid Click Protector Admin Menus and Widgets