DH - Anti AdBlocker 39.1

Does DH - Anti AdBlocker work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP warnings
6PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 7.17 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.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 400+
WordPress.org page https://wordpress.org/plugins/dh-anti-adblocker/
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=dh-anti-adblocker%2Fdh-anti-adblocker.php&plugin_status=all&paged=1&s&_wpnonce=5c01a2bafb
Aspect after-activation
HTTP status 200
Load time 0.214 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Settings → DH – Anti AdBlocker

Page screenshot: Settings → DH – Anti AdBlocker
URL /wp-admin/options-general.php?page=dh-anti-adblocker
Aspect menu-item
HTTP status 200
Load time 0.901 s
Memory usage 3.25 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.214 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.266 s0.512 s+0.246 s3.05 MiB3.06 MiB+ 14.84 KiB
/wp-admin/edit.php0.172 s0.259 s+0.087 s3.07 MiB3.09 MiB+ 14.84 KiB
/wp-admin/post-new.php0.725 s0.878 s+0.153 s4.97 MiB4.99 MiB+ 19.2 KiB
/wp-admin/upload.php0.505 s0.236 s-0.269 s2.99 MiB2.99 MiB- 2.58 KiB
/wp-admin/options-writing.php0.137 s0.135 s-0.002 s2.99 MiB2.97 MiB- 15.92 KiB
/wp-admin/media-new.php0.242 s0.178 s-0.064 s2.97 MiB2.98 MiB+ 9.62 KiB
/wp-admin/edit-tags.php?taxonomy=category0.155 s0.152 s-0.003 s2.98 MiB2.99 MiB+ 14.79 KiB
/wp-admin/post-new.php?post_type=page0.593 s0.715 s+0.122 s4.96 MiB4.97 MiB+ 14.79 KiB
/wp-admin/options-discussion.php0.200 s0.288 s+0.088 s2.97 MiB2.97 MiB- 2.08 KiB
/wp-admin/edit-comments.php0.173 s0.197 s+0.024 s3 MiB3 MiB- 2.58 KiB
/0.272 s0.223 s-0.049 s2.94 MiB2.96 MiB+ 13.97 KiB
Average 0.313 s0.343 s+0.030 s3.35 MiB3.36 MiB+ 7.17 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.

JavaScript
PHP
CSS
Language % Lines of code Comment lines Files
JavaScript53.5%1,9152584
PHP27.7%99460612
CSS12.6%453363
PO File6.1%2201202
Total 3,582 1,020 21

PHP Code Analysis | More results »

Lines of code 1,022
Total complexity 99
Median class complexity 4.0
Median method complexity 1.0
Most complex class DH_Anti_AdBlocker
Most complex function dhadb_footer()
Classes 7
Methods 27
Functions 10

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 7 lines

[25-Dec-2022 14:27:49 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/dh-anti-adblocker/admin/partials/dh-anti-adblocker-admin-display.php on line 210
[25-Dec-2022 14:27:49 UTC] PHP Deprecated:  preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/kses.php on line 1686
[25-Dec-2022 14:27:49 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/dh-anti-adblocker/admin/partials/dh-anti-adblocker-admin-display.php on line 476
[25-Dec-2022 14:27:49 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/dh-anti-adblocker/public/partials/dh-anti-adblocker-public-display.php on line 360
[25-Dec-2022 14:27:49 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/dh-anti-adblocker/public/partials/dh-anti-adblocker-public-display.php on line 360
[25-Dec-2022 14:27:50 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/dh-anti-adblocker/public/partials/dh-anti-adblocker-public-display.php on line 360
[25-Dec-2022 14:27:58 UTC] PHP Deprecated:  explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/dh-anti-adblocker/public/partials/dh-anti-adblocker-public-display.php on line 360
See also: All tests for this plugin, How to Hide the "DH – Anti AdBlocker" Admin Menu