Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼140.40ms] Passed 4 tests
A check of server-side resources used by wolkenkraft.com Krumo Debug Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 34.10 ▲13.93 |
Dashboard /wp-admin | 3.06 ▲0.01 | 47.43 ▲1.87 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 44.63 ▼1.72 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 90.57 ▼556.20 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 32.35 ▼5.54 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 28 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by wolkenkraft.com Krumo Debug Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,748 ▲152 | 15.82 ▲0.18 | 10.40 ▲0.63 | 50.05 ▲5.57 |
Dashboard /wp-admin | 2,973 ▲42 | 6.03 ▼0.01 | 136.39 ▼10.55 | 106.52 ▼8.49 |
Posts /wp-admin/edit.php | 2,768 ▲32 | 2.72 ▼0.00 | 63.15 ▲0.37 | 89.63 ▼1.56 |
Add New Post /wp-admin/post-new.php | 1,503 ▼167 | 18.44 ▼0.71 | 276.99 ▼89.37 | 117.13 ▲9.98 |
Media Library /wp-admin/upload.php | 1,835 ▲25 | 5.02 ▼0.07 | 143.62 ▼1.23 | 104.03 ▼14.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wolkenkraftcom-krumo/wolkenkraft-krumo.php
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
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Example debug output for krumo($_SERVER);), #2 (Example debug output for a DateTime Object)
- Plugin Name: Please specify the plugin name on the first line (
=== wolkenkraftcom-krumo ===
)
wolkenkraftcom-krumo/wolkenkraft-krumo.php 85% from 13 tests
Analyzing the main PHP file in "wolkenkraft.com Krumo Debug Plugin" version 1.0
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 303 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("wolkenkraftcom-krumo.php" instead of "wolkenkraft-krumo.php")
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 plugin1,313 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 84 | 65 | 648 |
PHP | 2 | 215 | 531 | 628 |
JavaScript | 1 | 15 | 50 | 33 |
INI | 1 | 2 | 14 | 4 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 79.00 |
▷ Minimum class complexity | 79.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 39 | |
▷ Static methods | 39 | 100.00% |
▷ Public methods | 23 | 58.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 41.03% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.38MB with 0.22MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 67.56KB | 23.39KB | ▼ 65.38% |
assets/screenshot-2.png | 10.66KB | 5.79KB | ▼ 45.66% |
assets/banner-1544x500.png | 216.62KB | 83.63KB | ▼ 61.39% |
assets/banner-772x250.png | 92.69KB | 36.77KB | ▼ 60.33% |