Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.54MB] [CPU: ▲1.32ms] Passed 4 tests
Server-side resources used by WP Delete Post Copies
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 43.71 ▲0.04 |
Dashboard /wp-admin | 3.96 ▲0.66 | 53.22 ▼1.10 |
Posts /wp-admin/edit.php | 4.01 ▲0.66 | 58.85 ▲6.84 |
Add New Post /wp-admin/post-new.php | 6.50 ▲0.62 | 98.94 ▼0.50 |
Media Library /wp-admin/upload.php | 3.82 ▲0.59 | 45.73 ▲9.88 |
All Campaigns /wp-admin/edit.php?post_type=wpedpcampaign | 3.94 | 45.16 |
Settings /wp-admin/edit.php?post_type=wpedpcampaign&page=edpc_options | 3.82 | 36.61 |
Add New /wp-admin/post-new.php?post_type=wpedpcampaign | 3.90 | 65.69 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 42 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
wpedpc_version |
theysaidso_admin_options |
wpedpc_settings |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP Delete Post Copies
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲93 | 13.38 ▼0.93 | 1.62 ▼0.44 | 37.85 ▼7.84 |
Dashboard /wp-admin | 2,245 ▲60 | 5.27 ▼0.61 | 108.86 ▲0.84 | 72.95 ▲28.06 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.28 ▲0.22 | 36.87 ▼3.40 | 37.00 ▲1.13 |
Add New Post /wp-admin/post-new.php | 1,546 ▲25 | 17.73 ▼5.48 | 733.66 ▲14.30 | 49.45 ▼5.77 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.41 ▲0.28 | 106.21 ▼14.52 | 73.27 ▲25.42 |
All Campaigns /wp-admin/edit.php?post_type=wpedpcampaign | 1,118 | 2.28 | 36.32 | 33.91 |
Settings /wp-admin/edit.php?post_type=wpedpcampaign&page=edpc_options | 1,074 | 1.85 | 30.42 | 49.63 |
Add New /wp-admin/post-new.php?post_type=wpedpcampaign | 3,901 | 3.49 | 69.27 | 100.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- can_compress_scripts
- wpedpc_version
- widget_theysaidso_widget
- widget_recent-posts
- wpedpc_settings
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/etruel-del-post-copies/includes/settings/myplugins.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (The logs are also in a new tab saving time to load the page. Click on title to refresh.) image missing
etruel-del-post-copies/edel-post-copies.php 69% from 13 tests
The entry point to "WP Delete Post Copies" version 5.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 142 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("etruel-del-post-copies.php" instead of "edel-post-copies.php")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin4,078 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 598 | 785 | 3,221 |
PO File | 1 | 171 | 200 | 477 |
JavaScript | 4 | 52 | 10 | 285 |
CSS | 3 | 5 | 16 | 74 |
Markdown | 1 | 6 | 0 | 21 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 61.25 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 5.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 60 | 54.05% |
▷ Public methods | 100 | 90.09% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 9.91% |
Functions | 31 | |
▷ Named functions | 29 | 93.55% |
▷ Anonymous functions | 2 | 6.45% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.52MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-7.png | 32.70KB | 14.13KB | ▼ 56.80% |
screenshot-3.png | 111.63KB | 43.51KB | ▼ 61.03% |
screenshot-6.png | 37.69KB | 14.70KB | ▼ 61.00% |
screenshot-1.png | 113.29KB | 42.98KB | ▼ 62.07% |
screenshot-4.png | 95.30KB | 31.04KB | ▼ 67.42% |