Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼0.39ms] Passed 4 tests
Analyzing server-side resources used by CopyContentDetector
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 46.54 ▲3.77 |
Dashboard /wp-admin | 3.52 ▲0.17 | 52.63 ▼10.96 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 50.60 ▲2.57 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 118.90 ▲14.08 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 39.09 ▲3.08 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for CopyContentDetector
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲173 | 13.82 ▼0.58 | 8.42 ▲6.88 | 41.99 ▲2.09 |
Dashboard /wp-admin | 2,214 ▲33 | 5.63 ▼0.10 | 108.15 ▲1.97 | 51.21 ▲4.94 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.07 ▲0.11 | 42.63 ▼1.06 | 49.89 ▲13.21 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.47 ▼0.15 | 686.17 ▼31.83 | 67.73 ▲14.92 |
Media Library /wp-admin/upload.php | 1,422 ▲25 | 4.32 ▲0.10 | 117.88 ▲14.18 | 53.67 ▲10.31 |
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 does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/copycontentdetector/admin/partials/ccd-copycontentdetector-admin-display.php
- > /wp-content/plugins/copycontentdetector/public/partials/ccd-copycontentdetector-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: ""
- Tags: There were no tags found
copycontentdetector/ccd-copycontentdetector.php 77% from 13 tests
"CopyContentDetector" version 1.1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("copycontentdetector.php" instead of "ccd-copycontentdetector.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 199 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,222 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 330 | 683 | 874 |
JavaScript | 2 | 75 | 104 | 314 |
CSS | 2 | 11 | 8 | 34 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 16.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 2 | 3.85% |
▷ Public methods | 42 | 80.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 19.23% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG images were found in this plugin