Defender 2.4.9

Does Defender work with WordPress 5.7 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.2 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
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=0f64b63920
Aspect after-activation
HTTP status 200
Load time 1.066 s
Memory usage 4.23 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.968 s
Memory usage 4.49 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.233 s
Memory usage 3.83 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.280 s0.284 s+0.004 s2.82 MiB4.03 MiB+ 1.21 MiB
/wp-admin/edit.php0.184 s0.220 s+0.036 s2.86 MiB4.11 MiB+ 1.25 MiB
/wp-admin/post-new.php0.924 s1.043 s+0.119 s5.02 MiB6.24 MiB+ 1.22 MiB
/wp-admin/upload.php0.517 s0.296 s-0.221 s2.7 MiB3.9 MiB+ 1.21 MiB
/wp-admin/options-writing.php0.147 s0.233 s+0.086 s2.71 MiB3.89 MiB+ 1.17 MiB
/wp-admin/media-new.php0.236 s0.175 s-0.061 s2.67 MiB3.88 MiB+ 1.21 MiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.200 s+0.008 s2.77 MiB3.92 MiB+ 1.15 MiB
/wp-admin/post-new.php?post_type=page1.129 s0.749 s-0.380 s5.01 MiB6.22 MiB+ 1.21 MiB
/wp-admin/options-discussion.php0.298 s0.324 s+0.026 s2.67 MiB3.88 MiB+ 1.21 MiB
/wp-admin/edit-comments.php0.240 s0.222 s-0.018 s2.78 MiB3.98 MiB+ 1.21 MiB
/0.278 s0.225 s-0.053 s2.65 MiB3.83 MiB+ 1.18 MiB
Average 0.402 s0.361 s-0.041 s3.15 MiB4.35 MiB+ 1.2 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
PHP63.8%45,52511,093186
JavaScript30.7%21,90766928
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 71,404 11,822 261

PHP Code Analysis | More results »

Lines of code 41,730
Total complexity 6,623
Median class complexity 22.0
Median method complexity 2.0
Most complex class PHP_CodeSniffer\Tokenizers\PHP
Most complex function get_public_suffix()
Classes 177
Methods 1,473
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