Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.23ms] Passed 4 tests
An overview of server-side resources used by Debug Bar Shortcodes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.38 ▲1.05 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.68 ▼14.82 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.25 ▼4.47 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.39 ▼17.67 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.92 ▲0.03 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Debug Bar Shortcodes: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.61 ▼0.68 | 1.79 ▼0.11 | 41.06 ▼9.61 |
Dashboard /wp-admin | 2,209 ▲27 | 4.88 ▼1.08 | 106.07 ▼1.81 | 41.42 ▼1.68 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.02 | 34.36 ▼6.14 | 33.30 ▼3.27 |
Add New Post /wp-admin/post-new.php | 1,535 ▲13 | 23.51 ▲0.15 | 680.38 ▲56.42 | 55.40 ▼1.85 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.22 ▼0.10 | 112.22 ▲14.03 | 48.76 ▲7.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 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 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
Please fix the following items
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Shortcode_Info_Defaults' not found in wp-content/plugins/debug-bar-shortcodes/shortcode-info/class-shortcode-info-playlist.php:20
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Shortcode_Info_Defaults' not found in wp-content/plugins/debug-bar-shortcodes/shortcode-info/class-shortcode-info-validator.php:22
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Shortcode_Info_From_File' not found in wp-content/plugins/debug-bar-shortcodes/shortcode-info/class-shortcode-info-shortcake.php:28
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Shortcode_Info_Defaults' not found in wp-content/plugins/debug-bar-shortcodes/shortcode-info/class-shortcode-info-reflection.php:22
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Shortcode_Info_Defaults' not found in wp-content/plugins/debug-bar-shortcodes/shortcode-info/class-shortcode-info-embed.php:20
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Shortcode_Info_Defaults' not found in wp-content/plugins/debug-bar-shortcodes/shortcode-info/class-shortcode-info-caption.php:20
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Shortcode_Info_Defaults' not found in wp-content/plugins/debug-bar-shortcodes/shortcode-info/class-shortcode-info-video.php:20
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Shortcode_Info_Defaults' not found in wp-content/plugins/debug-bar-shortcodes/shortcode-info/class-shortcode-info-audio.php:20
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Shortcode_Info_Caption' not found in wp-content/plugins/debug-bar-shortcodes/shortcode-info/class-shortcode-info-wp-caption.php:20
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Shortcode_Info_Defaults' not found in wp-content/plugins/debug-bar-shortcodes/shortcode-info/class-shortcode-info-lhr.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4, #5 in debug-bar-shortcodes/assets to your readme.txt
debug-bar-shortcodes/debug-bar-shortcodes.php 92% from 13 tests
"Debug Bar Shortcodes" version 2.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,841 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 419 | 1,000 | 1,285 |
PO File | 1 | 118 | 165 | 307 |
JavaScript | 2 | 29 | 33 | 154 |
CSS | 2 | 17 | 3 | 95 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 16.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 4.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 1 | 1.56% |
▷ Public methods | 30 | 46.88% |
▷ Protected methods | 2 | 3.12% |
▷ Private methods | 32 | 50.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/badge-circle-check-16.png | 0.74KB | 0.83KB | 0.00% |
images/badge-circle-cross-16.png | 0.74KB | 0.83KB | 0.00% |
images/help.png | 0.74KB | 0.64KB | ▼ 13.80% |