Benchmarks
Plugin footprint Passed 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.00MB] [CPU: ▼139.16ms] Passed 4 tests
A check of server-side resources used by Debug Bar Cron
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 26.09 ▲1.79 |
Dashboard /wp-admin | 3.06 ▲0.01 | 45.36 ▲1.97 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 48.66 ▲1.55 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 93.10 ▼559.13 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 33.20 ▼0.84 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Debug Bar Cron: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.89 ▲0.22 | 7.87 ▼3.49 | 51.06 ▲4.51 |
Dashboard /wp-admin | 2,967 ▲36 | 5.87 ▼0.06 | 147.44 ▼3.64 | 119.95 ▲0.98 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.71 ▲0.00 | 61.20 ▼4.17 | 88.65 ▲0.01 |
Add New Post /wp-admin/post-new.php | 1,498 ▼185 | 18.85 ▲0.16 | 388.77 ▲7.31 | 115.20 ▲0.95 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.05 ▼0.01 | 145.80 ▼2.34 | 123.09 ▲3.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
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)
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Panel' not found in wp-content/plugins/debug-bar-cron/class-debug-bar-cron.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/debug-bar-cron/debug-bar-cron.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Screenshot #1 (The Debug Bar Cron panel) image missing
- Tested up to: Version format is invalid
debug-bar-cron/debug-bar-cron.php Passed 13 tests
This is the main PHP file of "Debug Bar Cron" version 0.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
56 characters long description:
Adds information about WP scheduled events to Debug Bar.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin231 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 46 | 102 | 179 |
CSS | 2 | 1 | 0 | 52 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 55.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 44.44% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 PNG file occupies 0.16MB with 0.10MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 160.07KB | 55.03KB | ▼ 65.62% |