Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼141.50ms] Passed 4 tests
An overview of server-side resources used by Debug Bar List Script & Style Dependencies
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 42.09 ▲7.28 |
Dashboard /wp-admin | 3.06 ▲0.01 | 46.11 ▲1.33 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 51.10 ▲5.21 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 100.21 ▼579.83 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 47.09 ▲8.01 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Debug Bar List Script & Style Dependencies: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.86 ▲0.19 | 8.76 ▼1.62 | 49.73 ▼1.40 |
Dashboard /wp-admin | 2,973 ▲42 | 5.82 ▼0.15 | 148.52 ▼26.84 | 123.97 ▼3.32 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▲0.00 | 66.14 ▼3.80 | 99.19 ▼0.31 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.33 ▼0.42 | 389.36 ▼8.13 | 113.20 ▼11.06 |
Media Library /wp-admin/upload.php | 1,807 ▲3 | 5.06 ▲0.04 | 192.43 ▲38.49 | 159.82 ▲27.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/debug-bar-list-dependencies/debug-bar-list-dependencies.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #2 is required in debug-bar-list-dependencies/assets to your readme.txt
debug-bar-list-dependencies/debug-bar-list-dependencies.php Passed 13 tests
The main PHP script in "Debug Bar List Script & Style Dependencies" version 1.1 is automatically included on every request by WordPress
79 characters long description:
Debug Bar List Script & Style Dependencies is an add-on to WordPress Debug Bar.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected236 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 26 | 73 | 120 |
CSS | 2 | 5 | 0 | 68 |
PO File | 1 | 38 | 75 | 48 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 42.86% |
▷ Protected methods | 1 | 14.29% |
▷ Private methods | 3 | 42.86% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin