WP Smart Content Protection 1.1

Does WP Smart Content Protection work with WordPress 6.5.2 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: -696.73 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.5.2
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=e4a89cee23
Aspect after-activation
HTTP status 200
Load time 0.277 s
Memory usage 3.39 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.125 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.187 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.350 s0.313 s-0.037 s3.44 MiB3.45 MiB+ 12.07 KiB
/wp-admin/edit.php0.200 s0.197 s-0.003 s3.46 MiB3.47 MiB+ 12.07 KiB
/wp-admin/post-new.php0.917 s0.586 s-0.331 s5.59 MiB5.61 MiB+ 15.64 KiB
/wp-admin/upload.php0.522 s0.494 s-0.028 s3.38 MiB3.37 MiB- 5.34 KiB
/wp-admin/options-writing.php0.223 s0.168 s-0.055 s3.37 MiB3.36 MiB- 13.44 KiB
/wp-admin/media-new.php0.301 s0.198 s-0.103 s3.35 MiB3.36 MiB+ 6.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.276 s0.192 s-0.084 s3.37 MiB3.38 MiB+ 12.02 KiB
/wp-admin/post-new.php?post_type=page0.538 s0.579 s+0.041 s5.59 MiB5.6 MiB+ 11.23 KiB
/wp-admin/options-discussion.php0.271 s0.250 s-0.021 s3.36 MiB3.35 MiB- 4.91 KiB
/wp-admin/edit-comments.php0.233 s0.471 s+0.238 s3.39 MiB3.39 MiB- 5.3 KiB
/0.301 s0.211 s-0.090 s3.42 MiB3.37 MiB- 48.38 KiB
Average 0.376 s0.333 s-0.043 s3.79 MiB3.79 MiB- 696.73 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

[21-Apr-2024 23:11:25 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