Defender 4.0.2

Does Defender work with WordPress 6.3.1 and PHP 8.1.12? 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: 777.36 KiB
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.3.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=c85b3533b6
Aspect after-activation
HTTP status 200
Load time 0.520 s
Memory usage 4.69 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.175 s
Memory usage 3.62 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.513 s
Memory usage 4.12 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.201 s
Memory usage 3.93 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.307 s0.276 s-0.031 s2.82 MiB3.62 MiB+ 817.25 KiB
/wp-admin/edit.php0.196 s0.196 s+0.000 s2.85 MiB3.68 MiB+ 852.81 KiB
/wp-admin/post-new.php0.732 s0.841 s+0.109 s5.21 MiB5.97 MiB+ 775.84 KiB
/wp-admin/upload.php0.548 s0.454 s-0.094 s2.77 MiB3.5 MiB+ 750.43 KiB
/wp-admin/options-writing.php0.209 s0.206 s-0.003 s2.76 MiB3.49 MiB+ 741.58 KiB
/wp-admin/media-new.php0.290 s0.192 s-0.098 s2.74 MiB3.48 MiB+ 762.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.170 s0.202 s+0.032 s2.76 MiB3.51 MiB+ 767.8 KiB
/wp-admin/post-new.php?post_type=page0.565 s0.561 s-0.004 s5.21 MiB5.96 MiB+ 767.43 KiB
/wp-admin/options-discussion.php0.357 s0.241 s-0.116 s2.75 MiB3.48 MiB+ 750.11 KiB
/wp-admin/edit-comments.php0.213 s0.215 s+0.002 s2.78 MiB3.51 MiB+ 748.88 KiB
/0.241 s0.373 s+0.132 s3.13 MiB3.93 MiB+ 816.18 KiB
Average 0.348 s0.342 s-0.006 s3.25 MiB4.01 MiB+ 777.36 KiB

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
PHP71.1%59,15919,747335
JavaScript26.2%21,80465829
Markdown0.9%76507
C0.7%589181
SVG0.6%496415
CSS0.3%27847
JSON0.1%6302
m40.0%3201
C/C++ Header0.0%8121
Total 83,194 20,443 398

PHP Code Analysis | More results »

Lines of code 57,178
Total complexity 10,043
Median class complexity 17.0
Median method complexity 2.0
Most complex class PHP_CodeSniffer\Tokenizers\PHP
Most complex function get_public_suffix()
Classes 283
Methods 2,343
Functions 44

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 6

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