Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.84ms] Passed 4 tests
This is a short check of server-side resources used by Debug Bar Screen Info
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.21 ▼1.77 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.78 ▼6.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.10 ▼1.70 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.46 ▼13.38 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.27 ▼14.00 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Debug Bar Screen Info
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.13 ▼1.25 | 1.78 ▼0.05 | 38.64 ▼8.73 |
Dashboard /wp-admin | 2,209 ▲21 | 4.85 ▼0.97 | 109.76 ▲2.14 | 45.45 ▼0.05 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▲0.08 | 34.45 ▼4.36 | 37.31 ▲4.53 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.62 ▼4.73 | 633.89 ▼38.31 | 62.28 ▲5.68 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.22 ▼0.04 | 94.39 ▼15.96 | 42.65 ▼6.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: screen id, screen object, debug bar, get_current_screen, debug...
debug-bar-screen-info/debug-bar-screen-info.php Passed 13 tests
The main PHP file in "Debug Bar Screen Info" ver. 1.1.5 adds more information about the plugin and also serves as the entry point for this plugin
76 characters long description:
Show screen info of the current admin page in a new tab within the 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
No dangerous file extensions were detected1,229 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 288 | 634 | 1,082 |
PO File | 2 | 55 | 100 | 103 |
CSS | 2 | 5 | 2 | 39 |
Markdown | 1 | 2 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 3.69 |
▷ 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 | 32 | |
▷ Static methods | 21 | 65.62% |
▷ Public methods | 18 | 56.25% |
▷ Protected methods | 1 | 3.12% |
▷ Private methods | 13 | 40.62% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
No PNG images were found in this plugin