Defender 4.2.1

Does Defender work with WordPress 6.4.1 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: 882.85 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.4.1
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=8b1aee53ba
Aspect after-activation
HTTP status 200
Load time 0.625 s
Memory usage 5.23 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.262 s
Memory usage 4.26 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.565 s
Memory usage 4.87 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.446 s
Memory usage 4.82 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.390 s
Memory usage 4.82 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.625 s
Memory usage 4.82 MiB
JS errors None
Resource errors None

Defender → Firewall NEW

Page screenshot: Defender → Firewall NEW
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.308 s
Memory usage 4.82 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 4.82 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.290 s
Memory usage 4.82 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.295 s
Memory usage 4.82 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.299 s
Memory usage 4.82 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.297 s
Memory usage 4.82 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.383 s
Memory usage 4.82 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.225 s
Memory usage 4.21 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.491 s+0.123 s3.38 MiB4.29 MiB+ 930.77 KiB
/wp-admin/edit.php0.206 s0.251 s+0.045 s3.41 MiB4.35 MiB+ 966.02 KiB
/wp-admin/post-new.php0.880 s1.309 s+0.429 s5.46 MiB6.31 MiB+ 869.63 KiB
/wp-admin/upload.php0.808 s0.490 s-0.318 s3.32 MiB4.17 MiB+ 863.65 KiB
/wp-admin/options-writing.php0.215 s0.221 s+0.006 s3.32 MiB4.15 MiB+ 855.41 KiB
/wp-admin/media-new.php0.318 s0.306 s-0.012 s3.29 MiB4.15 MiB+ 875.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.217 s+0.002 s3.31 MiB4.17 MiB+ 881.01 KiB
/wp-admin/post-new.php?post_type=page0.625 s0.579 s-0.046 s5.45 MiB6.29 MiB+ 865.21 KiB
/wp-admin/options-discussion.php0.276 s0.354 s+0.078 s3.3 MiB4.14 MiB+ 863.32 KiB
/wp-admin/edit-comments.php0.260 s0.256 s-0.004 s3.34 MiB4.18 MiB+ 862.09 KiB
/0.292 s0.227 s-0.065 s3.36 MiB4.21 MiB+ 878.38 KiB
Average 0.406 s0.427 s+0.022 s3.72 MiB4.58 MiB+ 882.85 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
PHP70.4%57,51919,817344
JavaScript26.7%21,80465829
Markdown1.0%80807
C0.8%668251
SVG0.6%496415
CSS0.3%27847
JSON0.1%6402
XML0.1%6001
m40.0%3201
C/C++ Header0.0%8121
Total 81,737 20,520 408

PHP Code Analysis | More results »

Lines of code 55,483
Total complexity 9,684
Median class complexity 16.0
Median method complexity 2.0
Most complex class PHP_CodeSniffer\Tokenizers\PHP
Most complex function get_public_suffix()
Classes 274
Methods 2,260
Functions 48

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 6

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