Defender 4.12.0

Does Defender work with WordPress 6.7.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: 937.16 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.7.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=16eda0742c
Aspect after-activation
HTTP status 200
Load time 0.904 s
Memory usage 5.5 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.191 s
Memory usage 4.46 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.645 s
Memory usage 5.08 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.305 s
Memory usage 5.04 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.299 s
Memory usage 5.04 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.306 s
Memory usage 5.04 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.297 s
Memory usage 5.04 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.322 s
Memory usage 5.04 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.276 s
Memory usage 5.04 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.316 s
Memory usage 5.04 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.308 s
Memory usage 5.04 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.459 s
Memory usage 5.04 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.294 s
Memory usage 5.04 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.252 s
Memory usage 4.27 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.323 s0.470 s+0.147 s3.48 MiB4.46 MiB+ 999.41 KiB
/wp-admin/edit.php0.200 s0.208 s+0.008 s3.54 MiB4.52 MiB+ 997.54 KiB
/wp-admin/post-new.php0.768 s0.972 s+0.204 s5.92 MiB6.88 MiB+ 973.65 KiB
/wp-admin/upload.php0.537 s0.349 s-0.188 s3.5 MiB4.39 MiB+ 918.27 KiB
/wp-admin/options-writing.php0.195 s0.201 s+0.006 s3.47 MiB4.37 MiB+ 922.67 KiB
/wp-admin/media-new.php0.317 s0.297 s-0.020 s3.46 MiB4.37 MiB+ 930.87 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.270 s+0.062 s3.48 MiB4.39 MiB+ 936.13 KiB
/wp-admin/post-new.php?post_type=page0.556 s0.617 s+0.061 s5.92 MiB6.87 MiB+ 969.18 KiB
/wp-admin/options-discussion.php0.263 s0.264 s+0.001 s3.47 MiB4.37 MiB+ 919.17 KiB
/wp-admin/edit-comments.php0.198 s0.218 s+0.020 s3.49 MiB4.41 MiB+ 933.84 KiB
/0.307 s0.206 s-0.101 s3.48 MiB4.27 MiB+ 808.02 KiB
Average 0.352 s0.370 s+0.018 s3.93 MiB4.84 MiB+ 937.16 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,18626,692378
JavaScript24.8%21,80465930
Markdown1.0%89408
SVG0.8%704417
C0.8%668251
CSS0.4%31058
JSON0.1%10203
XML0.1%6201
m40.0%3201
C/C++ Header0.0%8121
Total 87,770 27,397 448

PHP Code Analysis | More results »

Lines of code 59,571
Total complexity 10,308
Median class complexity 16.0
Median method complexity 2.0
Most complex class PHP_CodeSniffer\Tokenizers\PHP
Most complex function get_public_suffix()
Classes 290
Methods 2,457
Functions 51

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