Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.48ms] Passed 4 tests
Server-side resources used by Debug Bar Post Types
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.28 ▲0.45 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.38 ▼4.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.87 ▲5.84 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.02 ▼7.43 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.20 ▲1.90 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Debug Bar Post Types: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.56 ▼0.75 | 1.71 ▼0.12 | 44.39 ▲0.83 |
Dashboard /wp-admin | 2,206 ▲17 | 5.79 ▲0.83 | 98.78 ▼22.99 | 38.70 ▼6.62 |
Posts /wp-admin/edit.php | 2,068 ▼18 | 2.00 ▼0.18 | 38.31 ▲2.30 | 34.89 ▲1.76 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.69 ▲0.17 | 671.80 ▼6.56 | 51.47 ▼16.98 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▲0.01 | 93.83 ▼6.44 | 41.58 ▼4.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Looking good! No server-side errors or output on direct access of PHP files
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 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #2, #3, #4 in debug-bar-post-types/assets to your readme.txt
debug-bar-post-types/debug-bar-post-types.php 92% from 13 tests
This is the main PHP file of "Debug Bar Post Types" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 165 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,503 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 350 | 705 | 1,331 |
PO File | 2 | 48 | 81 | 111 |
CSS | 2 | 4 | 2 | 56 |
Markdown | 1 | 2 | 0 | 5 |
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.51 |
Average class complexity | 32.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 25 | 67.57% |
▷ Public methods | 17 | 45.95% |
▷ Protected methods | 2 | 5.41% |
▷ Private methods | 18 | 48.65% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 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% |