Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲5.58MB] [CPU: ▲22.59ms] 75% from 4 tests
Analyzing server-side resources used by Delete Duplicate Posts
Please fix the following
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.58MB on /wp-admin/delete-duplicate-posts.php-contact)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.41 ▲5.94 | 69.90 ▲34.74 |
Dashboard /wp-admin | 9.43 ▲6.08 | 83.19 ▲22.89 |
Posts /wp-admin/edit.php | 9.43 ▲6.07 | 70.03 ▲25.38 |
Add New Post /wp-admin/post-new.php | 10.10 ▲4.21 | 112.77 ▲7.33 |
Media Library /wp-admin/upload.php | 9.43 ▲6.20 | 70.29 ▲36.35 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.43 | 60.22 |
Delete Duplicate Posts /wp-admin/tools.php?page=delete-duplicate-posts | 9.44 | 59.88 |
Server storage [IO: ▲3.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 215 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_ddp_log |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
fs_accounts |
can_compress_scripts |
delete_duplicate_posts_options_v4 |
fs_debug_mode |
fs_active_plugins |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Delete Duplicate Posts
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲140 | 14.36 ▼0.04 | 1.72 ▼0.08 | 42.31 ▼4.81 |
Dashboard /wp-admin | 2,307 ▲129 | 5.54 ▼0.08 | 85.78 ▼16.29 | 46.44 ▲0.46 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.01 ▲0.02 | 35.44 ▲0.18 | 33.39 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 23.02 ▼0.11 | 686.29 ▲9.82 | 57.15 ▲4.98 |
Media Library /wp-admin/upload.php | 1,426 ▲29 | 4.22 ▼0.05 | 97.43 ▼13.47 | 46.36 ▲0.82 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,093 | 2.07 | 24.97 | 29.95 |
Upgrade ➤ /wp-admin/delete-duplicate-posts.php-pricing | 26 | 0.42 | 0.07 | 13.15 |
Support Forum /wp-admin/delete-duplicate-posts.php-wp-support-forum | 26 | 0.42 | 0.09 | 7.82 |
Delete Duplicate Posts /wp-admin/tools.php?page=delete-duplicate-posts | 1,629 | 1.99 | 34.78 | 50.56 |
Contact Us /wp-admin/delete-duplicate-posts.php-contact | 26 | 0.42 | 0.12 | 5.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/delete-duplicate-posts/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie tables detected upon uninstall: 1 table
- wp_ddp_log
- This plugin did not uninstall successfully, leaving 10 options in the database
- fs_active_plugins
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- fs_accounts
- delete_duplicate_posts_options_v4
- fs_debug_mode
- widget_theysaidso_widget
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/delete-duplicate-posts.php-pricing
- > Network (severe)
wp-admin/delete-duplicate-posts.php-pricing - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/delete-duplicate-posts.php-wp-support-forum
- > Network (severe)
wp-admin/delete-duplicate-posts.php-wp-support-forum - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/delete-duplicate-posts.php-contact
- > Network (severe)
wp-admin/delete-duplicate-posts.php-contact - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: delete duplicate posts, delete, duplicate
delete-duplicate-posts/delete-duplicate-posts.php 85% from 13 tests
The main file in "Delete Duplicate Posts" v. 4.8.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 184 characters long)
- Domain Path: The domain path folder does not exist ("/languages3223")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin35,868 lines of code in 156 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 131 | 8,325 | 18,013 | 35,109 |
JavaScript | 6 | 80 | 91 | 378 |
CSS | 14 | 53 | 0 | 175 |
Markdown | 2 | 39 | 0 | 110 |
JSON | 2 | 0 | 0 | 73 |
XML | 1 | 10 | 5 | 23 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
It is recommended to fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 87.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 54 | |
▷ Abstract classes | 2 | 3.70% |
▷ Concrete classes | 52 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 1,334 | |
▷ Static methods | 249 | 18.67% |
▷ Public methods | 942 | 70.61% |
▷ Protected methods | 17 | 1.27% |
▷ Private methods | 375 | 28.11% |
Functions | 103 | |
▷ Named functions | 100 | 97.09% |
▷ Anonymous functions | 3 | 2.91% |
Constants | 147 | |
▷ Global constants | 100 | 68.03% |
▷ Class constants | 47 | 31.97% |
▷ Public constants | 47 | 100.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
5 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
images/security-ninja-logo.png | 6.74KB | 7.44KB | 0.00% |
images/cleverpluginslogo.png | 28.63KB | 10.85KB | ▼ 62.11% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
images/seoboosterlogo.png | 3.86KB | 4.07KB | 0.00% |