Benchmarks
Plugin footprint Passed 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: ▲4.82MB] [CPU: ▼605.37ms] Passed 4 tests
An overview of server-side resources used by Debug Bar Slow Actions
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.27 ▲4.55 | 63.68 ▲38.62 |
Dashboard /wp-admin | 8.25 ▲5.19 | 97.14 ▲42.23 |
Posts /wp-admin/edit.php | 8.21 ▲5.11 | 84.92 ▲35.01 |
Add New Post /wp-admin/post-new.php | 13.29 ▲7.86 | 150.69 ▼2,516.14 |
Media Library /wp-admin/upload.php | 7.43 ▲4.43 | 59.35 ▲21.04 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Debug Bar Slow Actions
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.84 ▲0.28 | 9.00 ▲1.33 | 54.35 ▼3.94 |
Dashboard /wp-admin | 2,964 ▲27 | 5.85 ▼0.23 | 171.61 ▲8.86 | 155.93 ▲22.60 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.00 | 80.41 ▲5.21 | 108.47 ▲5.59 |
Add New Post /wp-admin/post-new.php | 1,672 ▼11 | 19.10 ▲2.97 | 396.10 ▼44.08 | 113.52 ▼16.11 |
Media Library /wp-admin/upload.php | 1,751 ▼59 | 5.01 ▼0.03 | 161.92 ▼6.00 | 131.82 ▲2.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
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 everything seems fine, this is not 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/debug-bar-slow-actions/debug-bar-slow-actions.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: actions, debug, profiling
debug-bar-slow-actions/debug-bar-slow-actions.php Passed 13 tests
The main file in "Debug Bar Slow Actions" v. 0.8.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
66 characters long description:
Easily find the slowest actions and filters during a page request.
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
Everything looks great! No dangerous files found in this plugin196 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 23 | 196 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin