Security Ninja for MainWP 2.0.10

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

Summary

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

Memory usage: 39.47 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 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=fa6d27fdeb
Aspect after-activation
HTTP status 200
Load time 0.242 s
Memory usage 3.57 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.253 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.204 s
Memory usage 3.47 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.221 s-0.058 s3.51 MiB3.55 MiB+ 45.91 KiB
/wp-admin/edit.php0.178 s0.167 s-0.011 s3.57 MiB3.62 MiB+ 45.95 KiB
/wp-admin/post-new.php0.679 s0.553 s-0.126 s6.06 MiB6.11 MiB+ 47.84 KiB
/wp-admin/upload.php0.517 s0.451 s-0.066 s3.52 MiB3.55 MiB+ 28.54 KiB
/wp-admin/options-writing.php0.183 s0.180 s-0.003 s3.5 MiB3.53 MiB+ 32.53 KiB
/wp-admin/media-new.php0.230 s0.392 s+0.162 s3.49 MiB3.53 MiB+ 40.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.142 s0.229 s+0.087 s3.5 MiB3.55 MiB+ 51.4 KiB
/wp-admin/post-new.php?post_type=page0.561 s0.515 s-0.046 s6.05 MiB6.09 MiB+ 43.37 KiB
/wp-admin/options-discussion.php0.225 s0.254 s+0.029 s3.5 MiB3.53 MiB+ 29.66 KiB
/wp-admin/edit-comments.php0.187 s0.183 s-0.004 s3.52 MiB3.55 MiB+ 28.53 KiB
/0.262 s0.170 s-0.092 s3.43 MiB3.47 MiB+ 39.72 KiB
Average 0.313 s0.301 s-0.012 s3.97 MiB4.01 MiB+ 39.47 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
PHP89.5%34,70418,025126
PO File6.6%2,5671,15212
SVG2.8%1,08045
JavaScript0.6%238485
CSS0.5%194115
Total 38,783 19,230 163

PHP Code Analysis | More results »

Lines of code 25,160
Total complexity 6,260
Median class complexity 17.5
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 56
Methods 1,348
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 10 lines

[03-May-2025 11:56:18 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:14685
Stack trace:
#0 /wp-content/plugins/security-ninja-for-mainwp/freemius/includes/class-freemius.php(14608): Freemius->pricing_url()
#1 /wp-content/plugins/security-ninja-for-mainwp/security-ninja-mainwp.php(563): 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(260): do_action()
#6 {main}
  thrown in /wp-content/plugins/security-ninja-for-mainwp/freemius/includes/class-freemius.php on line 14685
See also: All tests for this plugin