Defender 4.7.1

Does Defender work with WordPress 6.5.4 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: 932.34 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.5.4
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=7fa2b67a64
Aspect after-activation
HTTP status 200
Load time 0.778 s
Memory usage 5.35 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.218 s
Memory usage 4.37 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.642 s
Memory usage 4.99 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.324 s
Memory usage 4.95 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.327 s
Memory usage 4.95 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.302 s
Memory usage 4.95 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.548 s
Memory usage 4.95 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.328 s
Memory usage 4.95 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.330 s
Memory usage 4.95 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 4.95 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.304 s
Memory usage 4.95 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.298 s
Memory usage 4.95 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.314 s
Memory usage 4.95 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.253 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.383 s0.589 s+0.206 s3.44 MiB4.4 MiB+ 985.27 KiB
/wp-admin/edit.php0.281 s0.235 s-0.046 s3.46 MiB4.46 MiB+ 1020.52 KiB
/wp-admin/post-new.php0.996 s1.366 s+0.370 s5.59 MiB6.53 MiB+ 959.37 KiB
/wp-admin/upload.php0.718 s0.550 s-0.168 s3.38 MiB4.28 MiB+ 917.35 KiB
/wp-admin/options-writing.php0.284 s0.229 s-0.055 s3.37 MiB4.26 MiB+ 909.28 KiB
/wp-admin/media-new.php0.368 s0.292 s-0.076 s3.35 MiB4.26 MiB+ 929.54 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.209 s+0.007 s3.37 MiB4.28 MiB+ 934.71 KiB
/wp-admin/post-new.php?post_type=page0.579 s0.615 s+0.036 s5.59 MiB6.52 MiB+ 954.95 KiB
/wp-admin/options-discussion.php0.355 s0.332 s-0.023 s3.36 MiB4.25 MiB+ 917.81 KiB
/wp-admin/edit-comments.php0.270 s0.257 s-0.013 s3.39 MiB4.29 MiB+ 916.59 KiB
/0.325 s0.224 s-0.101 s3.42 MiB4.21 MiB+ 810.34 KiB
Average 0.433 s0.445 s+0.012 s3.79 MiB4.7 MiB+ 932.34 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
PHP71.1%60,22621,525369
JavaScript25.7%21,80465929
Markdown1.0%84808
SVG0.8%693416
C0.8%668251
CSS0.4%31058
JSON0.1%8703
XML0.1%6001
m40.0%3201
C/C++ Header0.0%8121
Total 84,736 22,230 437

PHP Code Analysis | More results »

Lines of code 57,061
Total complexity 10,028
Median class complexity 16.0
Median method complexity 2.0
Most complex class PHP_CodeSniffer\Tokenizers\PHP
Most complex function get_public_suffix()
Classes 285
Methods 2,377
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 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