Defender 4.3.1

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

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

Environment
WordPress version6.4.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=c7756ef781
Aspect after-activation
HTTP status 200
Load time 0.596 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.224 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.612 s
Memory usage 4.86 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 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.445 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.326 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.522 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.299 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.316 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.325 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.285 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.302 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.288 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.231 s
Memory usage 4.1 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.367 s0.436 s+0.069 s3.38 MiB4.29 MiB+ 929.6 KiB
/wp-admin/edit.php0.217 s0.212 s-0.005 s3.41 MiB4.35 MiB+ 964.85 KiB
/wp-admin/post-new.php0.983 s1.509 s+0.526 s5.46 MiB6.31 MiB+ 867.62 KiB
/wp-admin/upload.php0.714 s0.504 s-0.210 s3.32 MiB4.16 MiB+ 861.66 KiB
/wp-admin/options-writing.php0.215 s0.221 s+0.006 s3.32 MiB4.15 MiB+ 854.24 KiB
/wp-admin/media-new.php0.307 s0.306 s-0.001 s3.29 MiB4.15 MiB+ 873.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.196 s-0.017 s3.31 MiB4.17 MiB+ 879.02 KiB
/wp-admin/post-new.php?post_type=page0.604 s0.563 s-0.041 s5.45 MiB6.29 MiB+ 863.2 KiB
/wp-admin/options-discussion.php0.282 s0.330 s+0.048 s3.3 MiB4.14 MiB+ 862.15 KiB
/wp-admin/edit-comments.php0.250 s0.265 s+0.015 s3.34 MiB4.18 MiB+ 860.92 KiB
/0.292 s0.206 s-0.086 s3.36 MiB4.1 MiB+ 760.76 KiB
Average 0.404 s0.432 s+0.028 s3.72 MiB4.57 MiB+ 870.71 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.5%57,77119,967344
JavaScript26.6%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,989 20,670 408

PHP Code Analysis | More results »

Lines of code 55,730
Total complexity 9,735
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,275
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