Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.50ms] Passed 4 tests
A check of server-side resources used by Simple Cleanup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.75 ▼4.87 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.32 ▼4.05 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.34 ▲3.82 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.39 ▼8.26 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.79 ▲3.18 |
Simple Cleanup /wp-admin/options-general.php?page=multinet-simple-cleanup | 3.21 | 30.85 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Cleanup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.24 ▼1.31 | 1.50 ▼0.28 | 39.04 ▼7.15 |
Dashboard /wp-admin | 2,204 ▲19 | 5.81 ▲0.94 | 102.49 ▼1.83 | 38.06 ▼4.15 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.03 ▲0.01 | 34.96 ▲1.56 | 33.24 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 23.28 ▲4.73 | 674.49 ▲79.03 | 71.15 ▲22.67 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.19 ▼0.01 | 94.54 ▼6.31 | 41.69 ▲0.39 |
Simple Cleanup /wp-admin/options-general.php?page=multinet-simple-cleanup | 863 | 2.06 | 23.06 | 30.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 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
5 plugin tags: remove, cleanup, tidy, clean, emoji
simple-cleanup/multinet-simple-cleanup.php 85% from 13 tests
Analyzing the main PHP file in "Simple Cleanup" version 0.3
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("simple-cleanup.php" instead of "multinet-simple-cleanup.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
No dangerous file extensions were detected318 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 49 | 83 | 239 |
PO File | 1 | 23 | 23 | 79 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 7.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 8 | 88.89% |
▷ Public methods | 6 | 66.67% |
▷ Protected methods | 3 | 33.33% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 14 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin