Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.03ms] Passed 4 tests
This is a short check of server-side resources used by Debug Bar Custom Info
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.22 ▼2.13 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.95 ▼16.98 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.44 ▲1.23 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.69 ▼2.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.32 ▲4.76 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Debug Bar Custom Info
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲39 | 14.28 ▼0.00 | 1.81 ▲0.28 | 46.79 ▲3.32 |
Dashboard /wp-admin | 2,195 ▲18 | 5.59 ▼0.17 | 94.32 ▲8.64 | 41.15 ▼0.97 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.02 | 39.20 ▲1.77 | 36.03 ▲0.34 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.77 ▲0.28 | 609.03 ▼24.08 | 49.80 ▼17.94 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.26 ▲0.01 | 97.69 ▼5.95 | 42.37 ▼1.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/debug-bar-custom-info/debug-bar-custom-info.php:29
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Panel' not found in wp-content/plugins/debug-bar-custom-info/class-dbci-panel.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (Custom Info Panel)
debug-bar-custom-info/debug-bar-custom-info.php Passed 13 tests
The primary PHP file in "Debug Bar Custom Info" version 1.0.2 is used by WordPress to initiate all plugin functionality
44 characters long description:
Display custom debug info in Debug Bar panel
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
Everything looks great! No dangerous files found in this plugin51 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 7 | 43 | 51 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 3 | 75.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 30.83KB | 15.71KB | ▼ 49.05% |