s2 Safety 1.9.0

Does s2 safety functions work with WordPress 5.7.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: 2.45 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 version5.7.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/s2-safety-functions/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=s2-safety-functions%2Fs2_safety.php&plugin_status=all&paged=1&s&_wpnonce=61663ae1c2
Aspect after-activation
HTTP status 200
Load time 0.350 s
Memory usage 2.72 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.218 s
Memory usage 2.66 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.279 s0.288 s+0.009 s2.82 MiB2.83 MiB+ 7.4 KiB
/wp-admin/edit.php0.186 s0.191 s+0.005 s2.86 MiB2.87 MiB+ 8.52 KiB
/wp-admin/post-new.php0.928 s1.015 s+0.087 s5.02 MiB5.04 MiB+ 19.76 KiB
/wp-admin/upload.php0.523 s0.281 s-0.242 s2.7 MiB2.7 MiB+ 2.27 KiB
/wp-admin/options-writing.php0.269 s0.151 s-0.118 s2.71 MiB2.68 MiB- 29.76 KiB
/wp-admin/media-new.php0.243 s0.161 s-0.082 s2.67 MiB2.68 MiB+ 2.44 KiB
/wp-admin/edit-tags.php?taxonomy=category0.233 s0.272 s+0.039 s2.77 MiB2.77 MiB+ 3.34 KiB
/wp-admin/post-new.php?post_type=page1.284 s0.711 s-0.573 s5.01 MiB5.01 MiB+ 3.34 KiB
/wp-admin/options-discussion.php0.304 s0.319 s+0.015 s2.68 MiB2.68 MiB+ 2.75 KiB
/wp-admin/edit-comments.php0.238 s0.254 s+0.016 s2.78 MiB2.78 MiB+ 2.25 KiB
/0.257 s0.224 s-0.033 s2.65 MiB2.66 MiB+ 4.66 KiB
Average 0.431 s0.352 s-0.080 s3.15 MiB3.15 MiB+ 2.45 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
Language % Lines of code Comment lines Files
PHP100.0%36292
Total 36 29 2

PHP Code Analysis | More results »

Lines of code 35
Total complexity 5
Median class complexity 5.0
Median method complexity 1.0
Most complex class s2_safety
Most complex function s2_safety::s2_setsafety_headers()
Classes 1
Methods 4
Functions 0

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.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin