Security Ninja (Premium) 5.240

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: 263.21 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=7124886792
Aspect after-activation
HTTP status 200
Load time 1.618 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.326 s
Memory usage 3.93 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.171 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.345 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.304 s0.316 s+0.012 s3.51 MiB3.84 MiB+ 341.79 KiB
/wp-admin/edit.php0.204 s0.235 s+0.031 s3.57 MiB3.86 MiB+ 296.37 KiB
/wp-admin/post-new.php0.798 s0.670 s-0.128 s6.06 MiB6.35 MiB+ 295.34 KiB
/wp-admin/upload.php0.599 s0.846 s+0.247 s3.52 MiB3.78 MiB+ 262.57 KiB
/wp-admin/options-writing.php0.229 s0.221 s-0.008 s3.5 MiB3.74 MiB+ 246.25 KiB
/wp-admin/media-new.php0.335 s0.219 s-0.116 s3.49 MiB3.74 MiB+ 254.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.216 s+0.001 s3.5 MiB3.79 MiB+ 291.92 KiB
/wp-admin/post-new.php?post_type=page0.613 s0.638 s+0.025 s6.05 MiB6.33 MiB+ 290.88 KiB
/wp-admin/options-discussion.php0.268 s0.312 s+0.044 s3.5 MiB3.74 MiB+ 243.06 KiB
/wp-admin/edit-comments.php0.430 s0.216 s-0.214 s3.52 MiB3.79 MiB+ 278.07 KiB
/0.320 s0.163 s-0.157 s3.5 MiB3.59 MiB+ 94.61 KiB
Average 0.392 s0.368 s-0.024 s3.98 MiB4.23 MiB+ 263.21 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.9%7,6342,19317
Sass21.6%2,23201
JavaScript2.8%293284
CSS1.6%170532
SVG0.0%101
Total 10,330 2,274 25

PHP Code Analysis | More results »

Lines of code 6,551
Total complexity 1,108
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 184
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