Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.86ms] Passed 4 tests
This is a short check of server-side resources used by Debug This
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 46.32 ▲3.71 |
Dashboard /wp-admin | 3.36 ▲0.06 | 55.39 ▼1.92 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 51.28 ▲0.35 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 86.74 ▼18.83 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.39 ▲0.97 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Debug This
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,210 ▲439 | 13.57 ▼0.87 | 7.08 ▲5.24 | 41.29 ▼3.02 |
Dashboard /wp-admin | 2,203 ▲12 | 5.91 ▲1.01 | 108.66 ▼0.75 | 42.08 ▲2.51 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▲0.03 | 33.41 ▼4.96 | 34.04 ▼1.94 |
Add New Post /wp-admin/post-new.php | 1,537 ▲18 | 23.29 ▲0.16 | 667.01 ▲5.22 | 54.09 ▼0.29 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.20 ▲0.07 | 94.83 ▼5.49 | 42.23 ▼2.29 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: print_r, debug, query, var_dump, queries...
debug-this/debug-this.php Passed 13 tests
The primary PHP file in "Debug This" version 0.6.4 is used by WordPress to initiate all plugin functionality
69 characters long description:
Peek under the hood with sixty debugging reports just one click away.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected2,053 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 297 | 75 | 1,521 |
PO File | 1 | 198 | 200 | 434 |
CSS | 1 | 18 | 6 | 88 |
JavaScript | 2 | 1 | 0 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 68.00 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 85 | |
▷ Static methods | 3 | 3.53% |
▷ Public methods | 78 | 91.76% |
▷ Protected methods | 7 | 8.24% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin