Does DH - Anti AdBlocker work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .
1 | PHP fatal errors |
2 | PHP warnings |
4 | PHP deprecation warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 14.41 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
insignificant.
The plugin didn't make the site noticeably slower.
WordPress version | 6.1.1 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 400+ |
WordPress.org page | https://wordpress.org/plugins/dh-anti-adblocker/ |
Badges |
Get badge code |
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=156be3374c |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.472 s |
Memory usage | 3.01 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=dh-anti-adblocker |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 1.034 s |
Memory usage | 3.39 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.304 s |
Memory usage | 2.97 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.338 s | 0.284 s | -0.054 s | 3.05 MiB | 3.07 MiB | + 21.77 KiB |
/wp-admin/edit.php | 0.194 s | 0.214 s | +0.020 s | 3.07 MiB | 3.1 MiB | + 21.77 KiB |
/wp-admin/post-new.php | 0.928 s | 1.029 s | +0.101 s | 4.97 MiB | 4.99 MiB | + 26.13 KiB |
/wp-admin/upload.php | 0.889 s | 0.345 s | -0.544 s | 2.99 MiB | 3 MiB | + 4.36 KiB |
/wp-admin/options-writing.php | 0.172 s | 0.318 s | +0.146 s | 2.99 MiB | 2.98 MiB | - 8.99 KiB |
/wp-admin/media-new.php | 0.306 s | 0.223 s | -0.083 s | 2.97 MiB | 2.98 MiB | + 16.55 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.182 s | 0.214 s | +0.032 s | 2.98 MiB | 3 MiB | + 21.72 KiB |
/wp-admin/post-new.php?post_type=page | 0.701 s | 0.894 s | +0.193 s | 4.96 MiB | 4.98 MiB | + 21.72 KiB |
/wp-admin/options-discussion.php | 0.226 s | 0.207 s | -0.019 s | 2.98 MiB | 2.98 MiB | + 4.85 KiB |
/wp-admin/edit-comments.php | 0.238 s | 0.224 s | -0.014 s | 3 MiB | 3 MiB | + 4.35 KiB |
/ | 0.306 s | 0.255 s | -0.051 s | 2.94 MiB | 2.97 MiB | + 24.27 KiB |
Average | 0.407 s | 0.382 s | -0.025 s | 3.35 MiB | 3.37 MiB | + 14.41 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
CSS | 48.9% | 27,377 | 4,293 | 53 | |
JavaScript | 42.9% | 24,015 | 973 | 28 | |
SVG | 5.1% | 2,880 | 12 | 3 | |
PHP | 2.5% | 1,421 | 713 | 12 | |
PO File | 0.5% | 271 | 167 | 2 | |
Total | 55,964 | 6,158 | 98 |
Lines of code | 845 |
---|---|
Total complexity | 150 |
Median class complexity | 5.0 |
Median method complexity | 1.0 |
Most complex class | DH_Anti_AdBlocker_Admin |
Most complex function | dhadb_header() |
Classes | 7 |
---|---|
Methods | 35 |
Functions | 9 |
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.
wp_options
3[25-Jan-2023 22:46:59 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 324
[25-Jan-2023 22:46:59 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-Jan-2023 22:46:59 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 650
[25-Jan-2023 22:47:01 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 461
[25-Jan-2023 22:47:09 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 461
[25-Jan-2023 22:47:10 UTC] PHP Warning: Trying to access array offset on value of type bool in /wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-deactivator.php on line 37
[25-Jan-2023 22:47:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined method DH_Anti_AdBlocker_Deactivator::deleteDir() in /wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-deactivator.php:47
Stack trace:
#0 /wp-content/plugins/dh-anti-adblocker/dh-anti-adblocker.php(74): DH_Anti_AdBlocker_Deactivator::deactivate()
#1 /wp-includes/class-wp-hook.php(308): deactivate_DH_Anti_AdBlocker()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/includes/plugin.php(814): do_action()
#5 /wp-admin/plugins.php(209): deactivate_plugins()
#6 {main}
thrown in /wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-deactivator.php on line 47