Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼292.97ms] Passed 4 tests
Server-side resources used by Advanced Dashboard Cleaner for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 61.97 ▲7.96 |
Dashboard /wp-admin | 3.45 ▲0.04 | 49.99 ▲10.12 |
Posts /wp-admin/edit.php | 3.67 ▲0.04 | 47.61 ▲5.70 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 101.94 ▼1,195.65 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 35.13 ▲10.39 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- Illegal file modification detected: 3 files (0.00KB) outside of "wp-content/plugins/advanced-dashboard-cleaner/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/advanced-dashboard-cleaner/assets/banner-1544\303\227500.png"
- (new file) "wp-content/plugins/advanced-dashboard-cleaner/assets/banner-772\303\227250.png"
- (new file) "wp-content/plugins/advanced-dashboard-cleaner/assets/icon-128\303\227128.png"
Filesystem: 20 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Dashboard Cleaner for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,794 ▲52 | 15.91 ▲0.27 | 6.60 ▲0.97 | 2.86 ▲0.46 |
Dashboard /wp-admin | 2,888 ▲27 | 6.13 ▼0.03 | 118.29 ▼23.82 | 155.80 ▼5.20 |
Posts /wp-admin/edit.php | 2,687 ▼4 | 3.22 ▼0.00 | 62.44 ▼1.62 | 133.88 ▼13.67 |
Add New Post /wp-admin/post-new.php | 1,719 ▲59 | 21.14 ▲3.86 | 452.82 ▲59.77 | 159.23 ▲7.74 |
Media Library /wp-admin/upload.php | 1,700 ▲2 | 5.49 ▼0.05 | 147.67 ▲6.51 | 184.42 ▼5.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Requires php: Version format is invalid
advanced-dashboard-cleaner/advanced-dashboard-cleaner.php 92% from 13 tests
The entry point to "Advanced Dashboard Cleaner for WordPress" version 1.2.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- 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
Everything looks great! No dangerous files found in this plugin2,758 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 0 | 9 | 1,792 |
SVG | 1 | 0 | 0 | 565 |
PHP | 7 | 130 | 115 | 401 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 32 | 88.89% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
7 PNG files occupy 0.33MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-4.png | 69.40KB | 15.20KB | ▼ 78.10% |
assets/icon-128×128.png | 8.61KB | 3.61KB | ▼ 58.07% |
assets/banner-1544×500.png | 115.30KB | 56.98KB | ▼ 50.58% |
assets/screenshot-1.png | 40.94KB | 11.30KB | ▼ 72.39% |
assets/screenshot-2.png | 47.17KB | 12.01KB | ▼ 74.54% |