Defender 4.9.0

Does Defender work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 954.84 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.

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 90,000+
WordPress.org page https://wordpress.org/plugins/defender-security/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 14

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=defender-security%2Fwp-defender.php&plugin_status=all&paged=1&s&_wpnonce=d0e731c61c
Aspect after-activation
HTTP status 200
Load time 0.733 s
Memory usage 5.46 MiB
JS errors None
Resource errors None

Tools → Scheduled Actions

Page screenshot: Tools → Scheduled Actions
URL /wp-admin/tools.php?page=action-scheduler
Aspect menu-item
HTTP status 200
Load time 0.222 s
Memory usage 4.45 MiB
JS errors None
Resource errors None

Defender

Page screenshot: Defender
URL /wp-admin/admin.php?page=wp-defender
Aspect menu-item
HTTP status 200
Load time 0.581 s
Memory usage 5.06 MiB
JS errors None
Resource errors None

Defender → Recommendations

Page screenshot: Defender → Recommendations
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-hardener
Aspect menu-item
HTTP status 200
Load time 0.332 s
Memory usage 5.02 MiB
JS errors None
Resource errors None

Defender → Malware Scanning

Page screenshot: Defender → Malware Scanning
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-scan
Aspect menu-item
HTTP status 200
Load time 0.306 s
Memory usage 5.02 MiB
JS errors None
Resource errors None

Defender → Audit Logging

Page screenshot: Defender → Audit Logging
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-logging
Aspect menu-item
HTTP status 200
Load time 0.323 s
Memory usage 5.02 MiB
JS errors None
Resource errors None

Defender → Firewall

Page screenshot: Defender → Firewall
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-ip-lockout
Aspect menu-item
HTTP status 200
Load time 0.328 s
Memory usage 5.02 MiB
JS errors None
Resource errors None

Defender → WAF

Page screenshot: Defender → WAF
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-waf
Aspect menu-item
HTTP status 200
Load time 0.302 s
Memory usage 5.02 MiB
JS errors None
Resource errors None

Defender → 2FA

Page screenshot: Defender → 2FA
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-2fa
Aspect menu-item
HTTP status 200
Load time 0.402 s
Memory usage 5.02 MiB
JS errors None
Resource errors None

Defender → Tools

Page screenshot: Defender → Tools
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-advanced-tools
Aspect menu-item
HTTP status 200
Load time 0.324 s
Memory usage 5.02 MiB
JS errors None
Resource errors None

Defender → Notifications

Page screenshot: Defender → Notifications
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-notification
Aspect menu-item
HTTP status 200
Load time 0.317 s
Memory usage 5.02 MiB
JS errors None
Resource errors None

Defender → Settings

Page screenshot: Defender → Settings
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-setting
Aspect menu-item
HTTP status 200
Load time 0.306 s
Memory usage 5.02 MiB
JS errors None
Resource errors None

Defender → Tutorials

Page screenshot: Defender → Tutorials
URL /wp-admin/admin.php?page=wp-defender
Requested URL /wp-admin/admin.php?page=wdf-tutorial
Aspect menu-item
HTTP status 200
Load time 0.331 s
Memory usage 5.02 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.301 s
Memory usage 4.26 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.368 s0.498 s+0.130 s3.47 MiB4.45 MiB+ 996.1 KiB
/wp-admin/edit.php0.215 s0.201 s-0.014 s3.54 MiB4.51 MiB+ 991.72 KiB
/wp-admin/post-new.php0.853 s1.017 s+0.164 s5.75 MiB6.7 MiB+ 966.28 KiB
/wp-admin/upload.php0.665 s0.586 s-0.079 s3.49 MiB4.38 MiB+ 914.96 KiB
/wp-admin/options-writing.php0.225 s0.229 s+0.004 s3.41 MiB4.37 MiB+ 977.52 KiB
/wp-admin/media-new.php0.254 s0.273 s+0.019 s3.4 MiB4.36 MiB+ 990.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.237 s+0.033 s3.47 MiB4.38 MiB+ 932.82 KiB
/wp-admin/post-new.php?post_type=page0.625 s0.672 s+0.047 s5.75 MiB6.69 MiB+ 961.87 KiB
/wp-admin/options-discussion.php0.251 s0.288 s+0.037 s3.41 MiB4.36 MiB+ 979.2 KiB
/wp-admin/edit-comments.php0.478 s0.459 s-0.019 s3.49 MiB4.38 MiB+ 915.52 KiB
/0.355 s0.215 s-0.140 s3.4 MiB4.26 MiB+ 876.31 KiB
Average 0.408 s0.425 s+0.017 s3.87 MiB4.8 MiB+ 954.84 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
PHP72.0%63,02226,421377
JavaScript24.9%21,80465930
Markdown1.0%87508
SVG0.8%704417
C0.8%668251
CSS0.4%31058
JSON0.1%9603
XML0.1%6001
m40.0%3201
C/C++ Header0.0%8121
Total 87,579 27,126 447

PHP Code Analysis | More results »

Lines of code 59,414
Total complexity 10,239
Median class complexity 16.0
Median method complexity 2.0
Most complex class PHP_CodeSniffer\Tokenizers\PHP
Most complex function get_public_suffix()
Classes 289
Methods 2,419
Functions 49

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 7

Options wp_options 6

Custom Post Types 1

ID Name
scheduled-actionScheduled Actions

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Defender Admin Menus