Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.27ms] Passed 4 tests
Server-side resources used by WP Copy Content Protection
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.06 | 25.76 ▼15.80 |
Dashboard /wp-admin | 3.38 ▲0.03 | 52.12 ▼4.58 |
Posts /wp-admin/edit.php | 3.49 ▲0.09 | 56.95 ▲5.62 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.03 | 100.84 ▲7.84 |
Media Library /wp-admin/upload.php | 3.30 ▲0.03 | 40.40 ▲1.67 |
WP Copy Content Protection /wp-admin/options-general.php?page=wccp_copy_protection | 3.24 | 34.90 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
wccp_copy_protection_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Copy Content Protection
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲126 | 13.38 ▼0.90 | 7.84 ▲5.95 | 40.29 ▼8.52 |
Dashboard /wp-admin | 2,199 ▲19 | 5.53 ▼0.12 | 88.75 ▼4.41 | 41.50 ▲4.03 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.04 | 39.86 ▼0.45 | 39.49 ▲3.75 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.22 ▲0.14 | 625.31 ▼88.23 | 50.07 ▼7.74 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.16 ▼0.04 | 101.02 ▼8.03 | 45.06 ▼4.67 |
WP Copy Content Protection /wp-admin/options-general.php?page=wccp_copy_protection | 857 | 2.01 | 23.51 | 27.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wccp_copy_protection
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wccp_copy_protection
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wccp_copy_protection
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wccp_copy_protection
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-copy-content-protection/wp-copy-content-protection.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: disable text selection, content protection, backlink, plagiarism, copyright...
wp-copy-content-protection/wp-copy-content-protection.php 92% from 13 tests
The main PHP script in "WP Copy Content Protection" version 1.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 301 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin182 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 26 | 182 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin