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.01MB] [CPU: ▼4.52ms] Passed 4 tests
A check of server-side resources used by Debug Bar Transients
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.50 ▲3.15 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.79 ▼5.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.86 ▲2.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.50 ▼19.06 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.37 ▲3.18 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Debug Bar Transients
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.35 ▲0.06 | 1.97 ▼0.07 | 45.47 ▲0.10 |
Dashboard /wp-admin | 2,189 ▲15 | 5.64 ▲0.06 | 93.60 ▲0.12 | 39.23 ▲1.00 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.97 ▼0.01 | 43.42 ▲3.48 | 35.27 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.40 ▲0.18 | 669.73 ▲51.35 | 55.47 ▲2.65 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.13 ▼0.09 | 101.23 ▼3.62 | 44.18 ▲2.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Debug_Bar_Panel' not found in wp-content/plugins/debug-bar-transients/class-debug-bar-transients.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: debug, transients, debug bar
debug-bar-transients/debug-bar-transients.php Passed 13 tests
"Debug Bar Transients" version 0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
64 characters long description:
Adds information about the WordPress Transient API to Debug Bar.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin432 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 79 | 171 | 316 |
CSS | 2 | 17 | 0 | 83 |
JavaScript | 2 | 5 | 5 | 33 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 37.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 62.50% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin