Defender 2.7.0

Does Defender work with WordPress 5.9 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.69 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.040 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.9
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=fa15cd2e48
Aspect after-activation
HTTP status 200
Load time 0.975 s
Memory usage 5.52 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.216 s
Memory usage 5.06 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.821 s
Memory usage 5.69 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.255 s
Memory usage 4.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.338 s0.285 s-0.053 s3.36 MiB5.03 MiB+ 1.66 MiB
/wp-admin/edit.php0.194 s0.217 s+0.023 s3.39 MiB5.1 MiB+ 1.71 MiB
/wp-admin/post-new.php0.819 s1.006 s+0.187 s6.14 MiB7.81 MiB+ 1.66 MiB
/wp-admin/upload.php0.355 s0.424 s+0.069 s3.24 MiB4.98 MiB+ 1.74 MiB
/wp-admin/options-writing.php0.313 s0.153 s-0.160 s3.24 MiB4.89 MiB+ 1.65 MiB
/wp-admin/media-new.php0.247 s0.369 s+0.122 s3.22 MiB4.96 MiB+ 1.74 MiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.195 s+0.003 s3.25 MiB4.99 MiB+ 1.74 MiB
/wp-admin/post-new.php?post_type=page0.664 s0.994 s+0.330 s6.14 MiB7.8 MiB+ 1.66 MiB
/wp-admin/options-discussion.php0.248 s0.272 s+0.024 s3.22 MiB4.89 MiB+ 1.67 MiB
/wp-admin/edit-comments.php0.295 s0.231 s-0.064 s3.26 MiB4.99 MiB+ 1.72 MiB
/0.280 s0.237 s-0.043 s3.35 MiB4.99 MiB+ 1.64 MiB
Average 0.359 s0.398 s+0.040 s3.8 MiB5.49 MiB+ 1.69 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.7%49,40913,634216
JavaScript29.0%21,84268629
SVG2.9%2,2092029
Markdown0.9%69307
C0.8%589181
CSS0.5%378106
JSON0.1%6302
m40.0%3201
C/C++ Header0.0%8121
Total 75,223 14,380 292

PHP Code Analysis | More results »

Lines of code 47,098
Total complexity 7,795
Median class complexity 24.0
Median method complexity 2.0
Most complex class PHP_CodeSniffer\Tokenizers\PHP
Most complex function get_public_suffix()
Classes 191
Methods 1,732
Functions 27

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