Security Ninja (Premium) 5.239

Does Security Ninja (Premium) work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 261.25 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/security-ninja/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Security ‹ Test site — WordPress

Page screenshot: Security ‹ Test site — WordPress
URL /wp-admin/admin.php?page=wf-sn
Requested URL /wp-admin/plugins.php?action=activate&plugin=security-ninja%2Fsecurity-ninja.php&plugin_status=all&paged=1&s&_wpnonce=c4edfa1d2a
Aspect after-activation
HTTP status 200
Load time 1.558 s
Memory usage 4.31 MiB
JS errors
[
    {
        "message": "SyntaxError: Invalid or unexpected token",
        "trace": null,
        "code": null
    }
]
Resource errors None

Security Ninja

Page screenshot: Security Ninja
URL /wp-admin/admin.php?page=wf-sn
Aspect menu-item
HTTP status 200
Load time 0.360 s
Memory usage 3.92 MiB
JS errors
[
    {
        "message": "SyntaxError: Invalid or unexpected token",
        "trace": null,
        "code": null
    }
]
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.168 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.354 s
Memory usage 3.84 MiB
JS errors
[
    {
        "message": "SyntaxError: Invalid or unexpected token",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.316 s0.321 s+0.005 s3.51 MiB3.84 MiB+ 339.75 KiB
/wp-admin/edit.php0.208 s0.238 s+0.030 s3.57 MiB3.86 MiB+ 294.33 KiB
/wp-admin/post-new.php0.824 s0.651 s-0.173 s6.06 MiB6.35 MiB+ 293.3 KiB
/wp-admin/upload.php0.802 s0.522 s-0.280 s3.52 MiB3.78 MiB+ 260.53 KiB
/wp-admin/options-writing.php0.226 s0.216 s-0.010 s3.5 MiB3.74 MiB+ 244.21 KiB
/wp-admin/media-new.php0.293 s0.231 s-0.062 s3.49 MiB3.74 MiB+ 252.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.220 s+0.022 s3.5 MiB3.79 MiB+ 289.88 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.707 s+0.095 s6.05 MiB6.33 MiB+ 288.84 KiB
/wp-admin/options-discussion.php0.308 s0.500 s+0.192 s3.5 MiB3.74 MiB+ 241.02 KiB
/wp-admin/edit-comments.php0.452 s0.193 s-0.259 s3.52 MiB3.79 MiB+ 276.03 KiB
/0.314 s0.178 s-0.136 s3.5 MiB3.59 MiB+ 93.45 KiB
Average 0.414 s0.362 s-0.052 s3.98 MiB4.23 MiB+ 261.25 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
Sass
Language % Lines of code Comment lines Files
PHP73.1%7,3912,13017
Sass22.1%2,23201
JavaScript2.9%293284
CSS1.7%170532
XML0.2%25101
SVG0.0%101
Total 10,112 2,221 26

PHP Code Analysis | More results »

Lines of code 6,307
Total complexity 1,047
Median class complexity 126.0
Median method complexity 4.0
Most complex class WPSecurityNinja\Plugin\Wf_Sn_Tests
Most complex function WPSecurityNinja\Plugin\Wf_Sn_Vu::render_vuln_page()
Classes 7
Methods 180
Functions 1

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 1

Options wp_options 8

Meta Boxes

{
    "dashboard": {
        "wpsn_dashboard_widget": {
            "title": "WP Security Ninja",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Security Ninja (Premium) Admin Menus and Widgets