Security Ninja for MainWP 2.0.3

Does Security Ninja for MainWP work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
1PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 32.29 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.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 800+
WordPress.org page https://wordpress.org/plugins/security-ninja-for-mainwp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=security-ninja-for-mainwp%2Fsecurity-ninja-mainwp.php&plugin_status=all&paged=1&s&_wpnonce=88113146f6
Aspect after-activation
HTTP status 200
Load time 0.306 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

SN4MWP

Page screenshot: SN4MWP
URL /wp-admin/admin.php?page=wf-sn-mainwp
Aspect menu-item
HTTP status 200
Load time 0.307 s
Memory usage N/A
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.179 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.370 s0.309 s-0.061 s3.44 MiB3.47 MiB+ 35.89 KiB
/wp-admin/edit.php0.207 s0.204 s-0.003 s3.46 MiB3.5 MiB+ 35.18 KiB
/wp-admin/post-new.php0.940 s0.616 s-0.324 s5.59 MiB5.65 MiB+ 60.95 KiB
/wp-admin/upload.php0.587 s0.476 s-0.111 s3.38 MiB3.4 MiB+ 18.52 KiB
/wp-admin/options-writing.php0.221 s0.207 s-0.014 s3.37 MiB3.38 MiB+ 10.48 KiB
/wp-admin/media-new.php0.306 s0.238 s-0.068 s3.35 MiB3.38 MiB+ 30.71 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.214 s+0.020 s3.37 MiB3.4 MiB+ 35.88 KiB
/wp-admin/post-new.php?post_type=page0.549 s0.595 s+0.046 s5.59 MiB5.64 MiB+ 56.52 KiB
/wp-admin/options-discussion.php0.244 s0.343 s+0.099 s3.36 MiB3.38 MiB+ 20.27 KiB
/wp-admin/edit-comments.php0.450 s0.241 s-0.209 s3.39 MiB3.41 MiB+ 18.55 KiB
/0.350 s0.212 s-0.138 s3.37 MiB3.4 MiB+ 32.2 KiB
Average 0.402 s0.332 s-0.069 s3.79 MiB3.82 MiB+ 32.29 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
PHP99.1%34,29717,776121
CSS0.6%194115
JavaScript0.3%108313
SVG0.0%101
Total 34,600 17,808 140

PHP Code Analysis | More results »

Lines of code 24,694
Total complexity 6,189
Median class complexity 17.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 53
Methods 1,316
Functions 101

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 3

PHP Error Log 11 lines

[29-Apr-2024 19:02:57 UTC] PHP Warning:  Undefined variable $help_link in /wp-content/plugins/security-ninja-for-mainwp/security-ninja-mainwp.php on line 345
[29-Apr-2024 19:02:57 UTC] PHP Fatal error:  Uncaught Error: Call to a member function addon_url() on bool in /wp-content/plugins/security-ninja-for-mainwp/freemius/includes/class-freemius.php:15032
Stack trace:
#0 /wp-content/plugins/security-ninja-for-mainwp/freemius/includes/class-freemius.php(14955): Freemius->pricing_url()
#1 /wp-content/plugins/security-ninja-for-mainwp/security-ninja-mainwp.php(379): Freemius->get_upgrade_url()
#2 /wp-includes/class-wp-hook.php(324): WPSecurityNinja\Plugin\Security_Ninja_Mainwp::mainwp_submenu_page()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin.php(259): do_action()
#6 {main}
  thrown in /wp-content/plugins/security-ninja-for-mainwp/freemius/includes/class-freemius.php on line 15032
See also: All tests for this plugin