Defender 4.1.0

Does Defender work with WordPress 6.3.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: 777.97 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.3.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 4

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=abe6d8a76b
Aspect after-activation
HTTP status 200
Load time 0.508 s
Memory usage 4.7 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.160 s
Memory usage 3.62 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.457 s
Memory usage 4.12 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.160 s
Memory usage 3.93 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.286 s0.272 s-0.014 s2.82 MiB3.62 MiB+ 817.7 KiB
/wp-admin/edit.php0.201 s0.190 s-0.011 s2.85 MiB3.68 MiB+ 853.27 KiB
/wp-admin/post-new.php0.632 s0.522 s-0.110 s5.21 MiB5.97 MiB+ 776.3 KiB
/wp-admin/upload.php0.498 s0.482 s-0.016 s2.77 MiB3.5 MiB+ 750.89 KiB
/wp-admin/options-writing.php0.194 s0.185 s-0.009 s2.76 MiB3.49 MiB+ 742.03 KiB
/wp-admin/media-new.php0.240 s0.223 s-0.017 s2.74 MiB3.48 MiB+ 763.08 KiB
/wp-admin/edit-tags.php?taxonomy=category0.164 s0.173 s+0.009 s2.76 MiB3.51 MiB+ 768.25 KiB
/wp-admin/post-new.php?post_type=page0.491 s0.508 s+0.017 s5.21 MiB5.96 MiB+ 767.88 KiB
/wp-admin/options-discussion.php0.185 s0.211 s+0.026 s2.75 MiB3.48 MiB+ 750.56 KiB
/wp-admin/edit-comments.php0.356 s0.350 s-0.006 s2.78 MiB3.51 MiB+ 749.34 KiB
/0.226 s0.197 s-0.029 s3.13 MiB3.93 MiB+ 818.4 KiB
Average 0.316 s0.301 s-0.015 s3.25 MiB4.01 MiB+ 777.97 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.2%56,93619,406339
JavaScript26.9%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,154 20,109 403

PHP Code Analysis | More results »

Lines of code 54,914
Total complexity 9,531
Median class complexity 16.0
Median method complexity 2.0
Most complex class PHP_CodeSniffer\Tokenizers\PHP
Most complex function get_public_suffix()
Classes 270
Methods 2,209
Functions 44

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