Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.68ms] Passed 4 tests
Analyzing server-side resources used by Bulk Clean
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 32.94 ▼4.98 |
Dashboard /wp-admin | 3.38 ▲0.08 | 45.13 ▼6.14 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 48.34 ▲0.56 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 87.74 ▼8.17 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 35.02 ▲0.71 |
Bulk Clean /wp-admin/tools.php?page=easy_clean | 3.29 | 36.60 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Bulk Clean
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.27 ▼0.11 | 1.59 ▼0.29 | 41.05 ▼0.15 |
Dashboard /wp-admin | 2,199 ▲19 | 5.61 ▼0.04 | 89.89 ▼0.46 | 38.05 ▼2.04 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.03 ▲0.04 | 40.02 ▼1.34 | 36.28 ▲0.08 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.21 ▲0.10 | 602.17 ▼100.22 | 54.37 ▲1.10 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.18 ▼0.02 | 95.22 ▼2.76 | 40.78 ▼0.44 |
Bulk Clean /wp-admin/tools.php?page=easy_clean | 1,013 | 2.05 | 40.65 | 35.87 |
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
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
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
Please fix the following items
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
require_once(): Failed opening required 'EASY_CLEAN_DIRclasses/class-easy-clean-page.php' (include_path='.:/usr/share/php') in wp-content/plugins/easy-clean/classes/class-easy-clean.php on line 42
- > PHP Warning
Use of undefined constant EASY_CLEAN_DIR - assumed 'EASY_CLEAN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-clean/classes/class-easy-clean.php on line 42
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-clean/classes/class-easy-clean-post.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/easy-clean/easy-clean.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-clean/classes/class-easy-clean-page.php:44
- > PHP Warning
require_once(EASY_CLEAN_DIRclasses/class-easy-clean-page.php): failed to open stream: No such file or directory in wp-content/plugins/easy-clean/classes/class-easy-clean.php on line 42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in easy-clean/assets to your readme.txt
easy-clean/easy-clean.php Passed 13 tests
The primary PHP file in "Bulk Clean" version 1.0.0 is used by WordPress to initiate all plugin functionality
90 characters long description:
Bulk clean allow you to delete unwanted posts, pages, custom post etc with a single click.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected554 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 70 | 151 | 296 |
JavaScript | 1 | 60 | 63 | 162 |
CSS | 1 | 18 | 3 | 96 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 3 | 20.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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