Defender 3.1.1

Does Defender work with WordPress 6.0.1 and PHP 7.4.8? 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: 1.79 MiB
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.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=33a026c921
Aspect after-activation
HTTP status 200
Load time 1.179 s
Memory usage 6.04 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.299 s
Memory usage 5.55 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.834 s
Memory usage 6.14 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.256 s
Memory usage 5.3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.336 s0.295 s-0.041 s3.72 MiB5.51 MiB+ 1.78 MiB
/wp-admin/edit.php0.196 s0.269 s+0.073 s3.75 MiB5.58 MiB+ 1.82 MiB
/wp-admin/post-new.php0.791 s1.053 s+0.262 s5.55 MiB7.33 MiB+ 1.78 MiB
/wp-admin/upload.php0.403 s0.378 s-0.025 s3.68 MiB5.46 MiB+ 1.78 MiB
/wp-admin/options-writing.php0.171 s0.162 s-0.009 s3.62 MiB5.44 MiB+ 1.82 MiB
/wp-admin/media-new.php0.404 s0.215 s-0.189 s3.66 MiB5.44 MiB+ 1.78 MiB
/wp-admin/edit-tags.php?taxonomy=category0.233 s0.223 s-0.010 s3.69 MiB5.47 MiB+ 1.78 MiB
/wp-admin/post-new.php?post_type=page0.744 s0.816 s+0.072 s5.54 MiB7.32 MiB+ 1.78 MiB
/wp-admin/options-discussion.php0.254 s0.341 s+0.087 s3.6 MiB5.44 MiB+ 1.84 MiB
/wp-admin/edit-comments.php0.229 s0.235 s+0.006 s3.69 MiB5.47 MiB+ 1.78 MiB
/0.281 s0.238 s-0.043 s3.59 MiB5.3 MiB+ 1.72 MiB
Average 0.367 s0.384 s+0.017 s4.01 MiB5.8 MiB+ 1.79 MiB

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
PHP66.4%50,81915,331230
JavaScript28.5%21,79765829
SVG2.8%2,1542029
Markdown1.0%74807
C0.8%589181
CSS0.4%27547
JSON0.1%6302
m40.0%3201
C/C++ Header0.0%8121
Total 76,485 16,043 307

PHP Code Analysis | More results »

Lines of code 49,045
Total complexity 8,269
Median class complexity 24.0
Median method complexity 2.0
Most complex class PHP_CodeSniffer\Tokenizers\PHP
Most complex function get_public_suffix()
Classes 202
Methods 1,861
Functions 31

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 10

Options wp_options 9

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