Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼299.55ms] Passed 4 tests
Analyzing server-side resources used by CopyRightPro
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.05 | 56.89 ▲7.50 |
Dashboard /wp-admin | 3.43 ▲0.02 | 32.19 ▼2.77 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 35.23 ▼1.65 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.07 | 90.65 ▼1,195.99 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 25.70 ▲2.23 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 23 new files
Database: 1 new table, no new options
New tables |
---|
wp_copyrightpro |
Browser metrics Passed 4 tests
Checking browser requirements for CopyRightPro
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,836 ▲92 | 15.87 ▼0.11 | 5.64 ▼0.21 | 17.73 ▲15.38 |
Dashboard /wp-admin | 2,912 ▲54 | 6.16 ▲0.01 | 115.48 ▼18.21 | 151.40 ▼13.42 |
Posts /wp-admin/edit.php | 2,711 ▲17 | 3.24 ▼0.00 | 62.81 ▼0.02 | 140.98 ▲1.22 |
Add New Post /wp-admin/post-new.php | 1,773 ▲15 | 17.14 ▼4.34 | 439.29 ▲18.63 | 159.93 ▲2.64 |
Media Library /wp-admin/upload.php | 1,715 ▲17 | 5.53 ▼0.01 | 138.17 ▼5.06 | 186.02 ▼0.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined index: updatecopy in wp-content/plugins/copyrightpro/panel.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/copyrightpro/panel.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/copyrightpro/copyrightpro.php:134
- > PHP Notice
Undefined index: updatelink in wp-content/plugins/copyrightpro/panel.php on line 39
- > PHP Fatal error
Uncaught Error: Call to undefined function copyrightpro_consulta() in wp-content/plugins/copyrightpro/scripts.php:7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid URI found ("")
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
copyrightpro/copyrightpro.php 92% from 13 tests
"CopyRightPro" version 2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 161 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin340 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 50 | 47 | 213 |
PO File | 1 | 21 | 22 | 90 |
CSS | 1 | 3 | 1 | 37 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 4.94KB | 2.67KB | ▼ 46.00% |