Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.06ms] Passed 4 tests
A check of server-side resources used by Debugger
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.07 ▼0.44 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.80 ▼2.22 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 46.03 ▼7.49 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 95.23 ▼10.07 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.93 ▲0.42 |
Debugger /wp-admin/options-general.php?page=debugger | 3.20 | 32.95 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Debugger
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.75 ▲0.36 | 1.82 ▲0.11 | 46.12 ▲1.63 |
Dashboard /wp-admin | 2,202 ▲22 | 5.61 ▼0.07 | 89.73 ▼4.41 | 38.82 ▼6.16 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.05 ▲0.02 | 36.46 ▼0.57 | 34.15 ▼4.37 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 17.77 ▲0.17 | 673.13 ▼2.24 | 51.62 ▼1.64 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.19 ▼0.05 | 98.43 ▼7.68 | 40.74 ▼8.26 |
Debugger /wp-admin/options-general.php?page=debugger | 892 | 2.02 | 23.17 | 29.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=debugger
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=debugger
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/debugger/debugger.php
- > /wp-content/plugins/debugger/lib/debug-bar.class.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Use the debugger to track how much time or memory hooks or benchmarked parts of code take to execute.), #2 (Configure your test parameters in wp-config.php or right in the admin.), #3 (Use the debugger to dump stack traces or pass data to see what the data looks like.)
debugger/debugger.php Passed 13 tests
This is the main PHP file of "Debugger" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
23 characters long description:
Code for debugging code
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected554 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 121 | 121 | 454 |
CSS | 1 | 17 | 7 | 100 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 4 | 12.50% |
▷ Public methods | 28 | 87.50% |
▷ Protected methods | 1 | 3.12% |
▷ Private methods | 3 | 9.38% |
Functions | 1 | |
▷ Named functions | 1 | 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
3 PNG files occupy 0.30MB with 0.22MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 125.29KB | 36.48KB | ▼ 70.88% |
screenshot-3.png | 111.64KB | 30.67KB | ▼ 72.53% |
screenshot-1.png | 73.49KB | 20.64KB | ▼ 71.92% |