Defender 2.5.7

Does Defender work with WordPress 5.8.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.34 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 version5.8.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 3

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=57ba3d6a6b
Aspect after-activation
HTTP status 200
Load time 1.514 s
Memory usage 4.69 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.863 s
Memory usage 5.02 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.224 s
Memory usage 4.25 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.324 s0.248 s-0.076 s3.08 MiB4.45 MiB+ 1.36 MiB
/wp-admin/edit.php0.196 s0.199 s+0.003 s3.11 MiB4.52 MiB+ 1.41 MiB
/wp-admin/post-new.php1.087 s1.034 s-0.053 s5.27 MiB6.63 MiB+ 1.36 MiB
/wp-admin/upload.php0.546 s0.426 s-0.120 s3.03 MiB4.35 MiB+ 1.32 MiB
/wp-admin/options-writing.php0.191 s0.258 s+0.067 s3.02 MiB4.31 MiB+ 1.28 MiB
/wp-admin/media-new.php0.354 s0.238 s-0.116 s3.01 MiB4.31 MiB+ 1.3 MiB
/wp-admin/edit-tags.php?taxonomy=category0.231 s0.194 s-0.037 s3.04 MiB4.41 MiB+ 1.37 MiB
/wp-admin/post-new.php?post_type=page1.194 s0.822 s-0.372 s5.26 MiB6.62 MiB+ 1.36 MiB
/wp-admin/options-discussion.php0.338 s0.359 s+0.021 s3 MiB4.3 MiB+ 1.3 MiB
/wp-admin/edit-comments.php0.235 s0.244 s+0.009 s3.04 MiB4.4 MiB+ 1.36 MiB
/0.298 s0.302 s+0.004 s2.96 MiB4.25 MiB+ 1.29 MiB
Average 0.454 s0.393 s-0.061 s3.44 MiB4.78 MiB+ 1.34 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
PHP65.3%48,50412,338198
JavaScript29.4%21,84068228
SVG3.0%2,2092029
Markdown0.9%69307
C0.8%589181
CSS0.5%378106
JSON0.1%6302
m40.0%3201
C/C++ Header0.0%8121
Total 74,316 13,080 273

PHP Code Analysis | More results »

Lines of code 44,647
Total complexity 7,291
Median class complexity 23.0
Median method complexity 2.0
Most complex class PHP_CodeSniffer\Tokenizers\PHP
Most complex function get_public_suffix()
Classes 186
Methods 1,636
Functions 24

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 5

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Defender Admin Menus