Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▼4.41ms] Passed 4 tests
This is a short check of server-side resources used by Content Copy Finder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.97 ▼7.48 |
Dashboard /wp-admin | 3.59 ▲0.24 | 43.94 ▼17.07 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 50.93 ▲5.60 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 91.02 ▲2.56 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 36.20 ▲4.37 |
Bulk check /wp-admin/tools.php?page=ccf-bulk-check | 3.45 | 32.29 |
Content Copy Finder /wp-admin/options-general.php?page=content-copy-finder | 3.42 | 32.60 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Content Copy Finder: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲51 | 13.29 ▼1.09 | 1.61 ▼0.62 | 39.90 ▼12.52 |
Dashboard /wp-admin | 2,214 ▲26 | 5.90 ▲0.90 | 111.02 ▼1.92 | 43.00 ▼0.51 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.15 ▲0.17 | 39.89 ▲4.96 | 34.31 ▼1.85 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 23.32 ▲0.04 | 585.32 ▼104.89 | 47.37 ▼10.43 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.18 ▼0.14 | 96.42 ▼15.78 | 39.85 ▼5.43 |
Bulk check /wp-admin/tools.php?page=ccf-bulk-check | 975 | 1.89 | 29.92 | 29.27 |
Content Copy Finder /wp-admin/options-general.php?page=content-copy-finder | 877 | 1.71 | 24.90 | 39.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/content-copy-finder/views/fields/checkbox.php
- > /wp-content/plugins/content-copy-finder/views/fields/radio.php
- 14× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: values in wp-content/plugins/content-copy-finder/views/fields/checkbox.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/content-copy-finder/views/settings.php:2
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/content-copy-finder/views/fields/checkbox.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/content-copy-finder/views/column.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/content-copy-finder/views/account.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/content-copy-finder/views/fields/text.php:1
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/content-copy-finder/views/fields/radio.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/content-copy-finder/libs/jwp-dh-core/views/default_template.php:65
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/content-copy-finder/views/metabox.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/content-copy-finder/views/steps.php:1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: plagiarism, plagiat, content
content-copy-finder/content-copy-finder.php Passed 13 tests
The entry point to "Content Copy Finder" version 1.2.2 is a PHP file that has certain tags in its header comment area
47 characters long description:
Check text for uniqueness and plagiarism search
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,895 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 227 | 740 | 1,413 |
JavaScript | 4 | 26 | 16 | 283 |
PO File | 1 | 65 | 79 | 180 |
CSS | 2 | 3 | 0 | 19 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 9.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 1 | 7.14% |
▷ Concrete classes | 13 | 92.86% |
▷ Final classes | 2 | 15.38% |
Methods | 82 | |
▷ Static methods | 5 | 6.10% |
▷ Public methods | 69 | 84.15% |
▷ Protected methods | 11 | 13.41% |
▷ Private methods | 2 | 2.44% |
Functions | 11 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 11 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin