Defender 2.5.1

Does Defender work with WordPress 5.7.2 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.25 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.7.2
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=738e4891f5
Aspect after-activation
HTTP status 200
Load time 1.688 s
Memory usage 4.31 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 1.007 s
Memory usage 4.53 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.228 s
Memory usage 3.87 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.275 s0.278 s+0.003 s2.82 MiB4.07 MiB+ 1.25 MiB
/wp-admin/edit.php0.181 s0.203 s+0.022 s2.86 MiB4.15 MiB+ 1.28 MiB
/wp-admin/post-new.php0.945 s1.142 s+0.197 s5.02 MiB6.28 MiB+ 1.26 MiB
/wp-admin/upload.php0.501 s0.473 s-0.028 s2.7 MiB3.94 MiB+ 1.25 MiB
/wp-admin/options-writing.php0.147 s0.175 s+0.028 s2.71 MiB3.93 MiB+ 1.21 MiB
/wp-admin/media-new.php0.263 s0.203 s-0.060 s2.67 MiB3.92 MiB+ 1.25 MiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.218 s+0.031 s2.77 MiB4.02 MiB+ 1.25 MiB
/wp-admin/post-new.php?post_type=page1.200 s0.741 s-0.459 s5.01 MiB6.26 MiB+ 1.25 MiB
/wp-admin/options-discussion.php0.255 s0.207 s-0.048 s2.67 MiB3.92 MiB+ 1.25 MiB
/wp-admin/edit-comments.php0.225 s0.219 s-0.006 s2.78 MiB4.02 MiB+ 1.25 MiB
/0.353 s0.235 s-0.118 s2.65 MiB3.87 MiB+ 1.22 MiB
Average 0.412 s0.372 s-0.040 s3.15 MiB4.4 MiB+ 1.25 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
PHP64.5%46,43411,478190
JavaScript30.0%21,62166427
SVG3.1%2,2092029
Markdown1.0%69307
C0.8%589181
CSS0.5%378106
JSON0.1%6302
m40.0%3201
C/C++ Header0.0%8121
Total 72,027 12,202 264

PHP Code Analysis | More results »

Lines of code 42,639
Total complexity 6,812
Median class complexity 23.0
Median method complexity 2.0
Most complex class PHP_CodeSniffer\Tokenizers\PHP
Most complex function get_public_suffix()
Classes 179
Methods 1,514
Functions 19

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