Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.21ms] Passed 4 tests
This is a short check of server-side resources used by Easy WP Cleaner
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.79 ▲2.50 |
Dashboard /wp-admin | 3.36 ▲0.02 | 56.68 ▼7.46 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 50.16 ▼3.20 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 102.05 ▼4.34 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 37.99 ▼1.85 |
Easy WP Cleaner /wp-admin/options-general.php?page=easy-wp-cleaner/easy-wp-cleaner-admin.php | 3.27 | 44.78 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Easy WP Cleaner
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.27 ▼0.27 | 1.85 ▲0.12 | 42.78 ▲1.45 |
Dashboard /wp-admin | 2,202 ▲28 | 5.60 ▼0.05 | 88.03 ▼16.69 | 62.87 ▲24.00 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.96 ▼0.09 | 42.82 ▲2.97 | 38.44 ▲0.62 |
Add New Post /wp-admin/post-new.php | 1,557 ▲25 | 18.50 ▼4.41 | 651.49 ▼18.26 | 53.41 ▼4.23 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.22 ▼0.03 | 99.94 ▼7.52 | 45.73 ▼1.98 |
Easy WP Cleaner /wp-admin/options-general.php?page=easy-wp-cleaner/easy-wp-cleaner-admin.php | 1,222 | 2.05 | 24.49 | 33.13 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/easy-wp-cleaner/easy-wp-cleaner-help.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-wp-cleaner/easy-wp-cleaner-admin.php:411
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Admin page Settings tab screenshot), #2 (Admin page Settings tab screenshot), #3 (Admin page Help tab screenshot)
- Tags: You are using too many tags: 27 tag instead of maximum 10
easy-wp-cleaner/easy-wp-cleaner.php 85% from 13 tests
"Easy WP Cleaner" version 1.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
- Text Domain: Please use dashes and lowercase characters for text domains
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
No dangerous file extensions were detected527 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 56 | 13 | 527 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 6 | |
▷ Named functions | 6 | 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
3 PNG files occupy 0.20MB with 0.13MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 91.33KB | 42.52KB | ▼ 53.44% |
screenshot-1.png | 48.29KB | 12.60KB | ▼ 73.92% |
screenshot-2.png | 62.17KB | 17.48KB | ▼ 71.87% |