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.04MB] [CPU: ▼5.14ms] Passed 4 tests
This is a short check of server-side resources used by Unfluff.io - Content Optimization
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.17 ▲0.01 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.25 ▼2.67 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.31 ▼6.76 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 87.19 ▼11.13 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.17 ▲2.01 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Unfluff.io - Content Optimization
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲55 | 13.65 ▼0.73 | 1.73 ▼0.27 | 41.96 ▲1.34 |
Dashboard /wp-admin | 2,235 ▲47 | 5.79 ▼0.12 | 105.33 ▲1.37 | 78.67 ▲36.51 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 1.97 ▼0.09 | 37.87 ▼0.61 | 36.16 ▲0.73 |
Add New Post /wp-admin/post-new.php | 6,307 ▲4,788 | 26.02 ▲2.72 | 1,027.30 ▲407.52 | 52.83 ▼6.27 |
Media Library /wp-admin/upload.php | 1,414 ▲29 | 4.25 ▲0.04 | 102.88 ▼0.31 | 89.73 ▲46.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: A description for screenshot #4 is missing in unfluff-io-content-optimization/assets to your readme.txt
unfluff-io-content-optimization/unfluff.php 92% from 13 tests
The entry point to "Unfluff.io - Content Optimization" version 1.0.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("unfluff-io-content-optimization.php" instead of "unfluff.php")
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
Success! There were no dangerous files found in this plugin823 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 43 | 57 | 404 |
PHP | 1 | 26 | 18 | 232 |
CSS | 2 | 4 | 4 | 150 |
SVG | 1 | 1 | 0 | 37 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
5 PNG files occupy 0.17MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/85.png | 26.96KB | 10.51KB | ▼ 61.02% |
assets/images/waiting.png | 36.18KB | 13.81KB | ▼ 61.84% |
assets/images/50.png | 40.11KB | 15.32KB | ▼ 61.80% |
assets/images/65.png | 34.78KB | 13.29KB | ▼ 61.77% |
assets/images/100.png | 31.00KB | 10.58KB | ▼ 65.87% |