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.04MB] [CPU: ▼2.95ms] Passed 4 tests
A check of server-side resources used by Delete Duplicate Data
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.58 ▼4.12 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.00 ▼10.19 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.89 ▲2.00 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.08 ▲0.52 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.77 ▲3.05 |
Delete Duplicate Data /wp-admin/options-general.php?page=delete_duplicate_data | 3.22 | 29.98 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Delete Duplicate Data
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.62 ▲0.44 | 1.72 ▼0.21 | 41.18 ▼1.95 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▼0.08 | 93.88 ▲1.24 | 40.87 ▼3.68 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.98 ▲0.02 | 39.63 ▲0.57 | 36.58 ▲1.38 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.32 ▼4.69 | 615.75 ▼26.56 | 67.58 ▲17.00 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.17 ▼0.05 | 97.25 ▼3.42 | 43.76 ▼3.27 |
Delete Duplicate Data /wp-admin/options-general.php?page=delete_duplicate_data | 1,217 | 4.13 | 63.07 | 86.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=delete_duplicate_data
- > Notice in wp-content/plugins/delete-duplicate-data/delete-duplicate-data.php+84
Undefined index: delete_duplicate_hidden
- > GET request to /wp-admin/options-general.php?page=delete_duplicate_data
- > Notice in wp-content/plugins/delete-duplicate-data/delete-duplicate-data.php+137
Undefined index: delete_duplicate_category_hidden
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/delete-duplicate-data/class/our_plugins.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/delete-duplicate-data/delete-duplicate-data.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=delete_duplicate_data
- > Network (severe)
wp-admin/admin-ajax.php - Failed to load resource: the server responded with a status of 400 (Bad Request)
- > GET request to /wp-admin/options-general.php?page=delete_duplicate_data
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/options-general.php?page=delete_duplicate_data
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/options-general.php?page=delete_duplicate_data
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
10 plugin tags: duplicate category, category, post, trash, custom post...
delete-duplicate-data/delete-duplicate-data.php Passed 13 tests
The main file in "Delete Duplicate Data" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
86 characters long description:
Delete Duplicate post, category, pages, custom post, taxonomy,trash,Delete Permanently
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected8,302 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 31 | 29 | 6,214 |
JavaScript | 3 | 588 | 279 | 1,567 |
PHP | 2 | 66 | 16 | 292 |
SVG | 1 | 0 | 0 | 229 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 4 | |
▷ Named functions | 4 | 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
No PNG files were detected