Defender 4.4.0

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: 890.02 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.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=bb359ec458
Aspect after-activation
HTTP status 200
Load time 0.670 s
Memory usage 5.26 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.231 s
Memory usage 4.28 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.571 s
Memory usage 4.88 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.348 s
Memory usage 4.84 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.302 s
Memory usage 4.84 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.357 s
Memory usage 4.84 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.335 s
Memory usage 4.84 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.335 s
Memory usage 4.84 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.584 s
Memory usage 4.84 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.323 s
Memory usage 4.84 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.323 s
Memory usage 4.84 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.334 s
Memory usage 4.84 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.303 s
Memory usage 4.84 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.242 s
Memory usage 4.12 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.411 s0.464 s+0.053 s3.38 MiB4.31 MiB+ 949.14 KiB
/wp-admin/edit.php0.230 s0.235 s+0.005 s3.41 MiB4.37 MiB+ 984.39 KiB
/wp-admin/post-new.php0.951 s0.689 s-0.262 s5.46 MiB6.32 MiB+ 887.16 KiB
/wp-admin/upload.php0.596 s0.590 s-0.006 s3.32 MiB4.18 MiB+ 881.2 KiB
/wp-admin/options-writing.php0.248 s0.265 s+0.017 s3.32 MiB4.17 MiB+ 873.78 KiB
/wp-admin/media-new.php0.336 s0.335 s-0.001 s3.29 MiB4.17 MiB+ 893.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.225 s0.221 s-0.004 s3.31 MiB4.19 MiB+ 898.55 KiB
/wp-admin/post-new.php?post_type=page0.637 s0.634 s-0.003 s5.45 MiB6.31 MiB+ 882.74 KiB
/wp-admin/options-discussion.php0.389 s0.352 s-0.037 s3.3 MiB4.16 MiB+ 881.69 KiB
/wp-admin/edit-comments.php0.282 s0.255 s-0.027 s3.33 MiB4.19 MiB+ 880.46 KiB
/0.332 s0.224 s-0.108 s3.36 MiB4.12 MiB+ 777.72 KiB
Average 0.422 s0.388 s-0.034 s3.72 MiB4.59 MiB+ 890.02 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.3%57,91920,065345
JavaScript26.5%21,80465929
Markdown1.0%80807
SVG0.8%689415
C0.8%668251
CSS0.3%27847
JSON0.1%6402
XML0.1%6001
m40.0%3201
C/C++ Header0.0%8121
Total 82,330 20,769 409

PHP Code Analysis | More results »

Lines of code 55,867
Total complexity 9,763
Median class complexity 16.0
Median method complexity 2.0
Most complex class PHP_CodeSniffer\Tokenizers\PHP
Most complex function get_public_suffix()
Classes 275
Methods 2,291
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 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