Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.67ms] Passed 4 tests
Analyzing server-side resources used by WP Content Copy Protection with Color Design
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.05 | 40.27 ▼2.20 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.26 ▼7.19 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.10 ▲2.58 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.47 ▼6.85 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.13 ▲1.57 |
WP Protect setting /wp-admin/options-general.php?page=WP_Copy_Protection_admin_menu | 3.32 | 31.81 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
protect_plugin_value_subject |
theysaidso_admin_options |
protect_plugin_value_click |
widget_recent-comments |
protect_plugin_value_color |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WP Content Copy Protection with Color Design
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲223 | 13.80 ▼0.63 | 6.83 ▲4.83 | 31.73 ▼19.55 |
Dashboard /wp-admin | 2,273 ▲85 | 5.13 ▲0.26 | 99.59 ▼20.24 | 47.85 ▼2.17 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.32 ▲0.29 | 41.75 ▲5.44 | 35.92 ▼0.34 |
Add New Post /wp-admin/post-new.php | 1,540 ▼2 | 18.66 ▲0.16 | 620.69 ▼14.80 | 33.78 ▼23.12 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.48 ▲0.33 | 99.08 ▼2.45 | 42.02 ▼2.78 |
WP Protect setting /wp-admin/options-general.php?page=WP_Copy_Protection_admin_menu | 1,239 | 4.02 | 76.83 | 57.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, no array or string given
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=WP_Copy_Protection_admin_menu
- > Notice in wp-content/plugins/wp-copy-protect-with-color-design/manage/admin.php+42
Undefined index: Protect_Copy_save
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-copy-protect-with-color-design/manage/admin.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-copy-protect-with-color-design/wp_copy_design.php:35
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=WP_Copy_Protection_admin_menu
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/options-general.php?page=WP_Copy_Protection_admin_menu
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 75% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== wp-copy-protect-with-color-design ===
) - Screenshots: Screenshot #1 (Options Page) image not found
- Requires at least: Invalid plugin version format
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
wp-copy-protect-with-color-design/wp_copy_design.php 77% from 13 tests
The entry point to "WP Content Copy Protection with Color Design" version 2.3.7 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-copy-protect-with-color-design.php" instead of "wp_copy_design.php")
- Description: The description should be shorter than 140 characters (currently 267 characters long)
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin608 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 179 | 103 | 566 |
CSS | 1 | 0 | 0 | 37 |
JavaScript | 1 | 2 | 1 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 44.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 38.52KB | 16.67KB | ▼ 56.74% |
screenshot-2.png | 38.31KB | 16.65KB | ▼ 56.53% |
screenshot-1.png | 26.38KB | 11.61KB | ▼ 56.00% |