WP Smart Content Protection 1.1

Does WP Smart Content Protection work with WordPress 6.4.3 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: -266.18 bytes
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.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 60+
WordPress.org page https://wordpress.org/plugins/wp-smart-content-protection/
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=wp-smart-content-protection%2Fwp-smart-content-protection.php&plugin_status=all&paged=1&s&_wpnonce=ab92672e08
Aspect after-activation
HTTP status 200
Load time 0.276 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

WP Smart Content Protection

Page screenshot: WP Smart Content Protection
URL /wp-admin/admin.php?page=WP-Smart-Content-Protection
Aspect menu-item
HTTP status 200
Load time 0.127 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.174 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.356 s0.301 s-0.055 s3.38 MiB3.39 MiB+ 12.07 KiB
/wp-admin/edit.php0.213 s0.217 s+0.004 s3.41 MiB3.42 MiB+ 12.07 KiB
/wp-admin/post-new.php0.863 s0.772 s-0.091 s5.46 MiB5.47 MiB+ 15.64 KiB
/wp-admin/upload.php0.716 s0.435 s-0.281 s3.32 MiB3.32 MiB- 5.34 KiB
/wp-admin/options-writing.php0.222 s0.207 s-0.015 s3.32 MiB3.31 MiB- 12.81 KiB
/wp-admin/media-new.php0.299 s0.221 s-0.078 s3.3 MiB3.3 MiB+ 6.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.187 s-0.020 s3.31 MiB3.33 MiB+ 12.02 KiB
/wp-admin/post-new.php?post_type=page0.603 s0.608 s+0.005 s5.45 MiB5.47 MiB+ 15.23 KiB
/wp-admin/options-discussion.php0.296 s0.243 s-0.053 s3.3 MiB3.3 MiB- 4.91 KiB
/wp-admin/edit-comments.php0.242 s0.215 s-0.027 s3.34 MiB3.33 MiB- 5.3 KiB
/0.272 s0.395 s+0.123 s3.36 MiB3.31 MiB- 48.38 KiB
Average 0.390 s0.346 s-0.044 s3.72 MiB3.72 MiB- 266.18 bytes

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%126373
Total 126 37 3

PHP Code Analysis | More results »

Lines of code 121
Total complexity 15
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function wpscp_register_option_settings()
Classes 0
Methods 0
Functions 10

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.

Options wp_options 4

PHP Error Log 12 lines

[11-Feb-2024 13:26:36 UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/wp-smart-content-protection/wp-smart-content-protection.php:149
Stack trace:
#0 /wp-admin/includes/template.php(1836): wpscp_copy_cb()
#1 /wp-admin/includes/template.php(1790): do_settings_fields()
#2 /wp-content/plugins/wp-smart-content-protection/page/setting.php(11): do_settings_sections()
#3 /wp-content/plugins/wp-smart-content-protection/wp-smart-content-protection.php(105): require('...')
#4 /wp-includes/class-wp-hook.php(324): wpscp_display_setting_page()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-admin/admin.php(259): do_action()
#8 {main}
  thrown in /wp-content/plugins/wp-smart-content-protection/wp-smart-content-protection.php on line 149
See also: All tests for this plugin