Benchmarks
Plugin footprint 83% from 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: ▲0.26MB] [CPU: ▼3.72ms] Passed 4 tests
Analyzing server-side resources used by Debug Assistant
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.26 | 38.61 ▼5.22 |
Dashboard /wp-admin | 3.62 ▲0.28 | 51.28 ▼11.39 |
Posts /wp-admin/edit.php | 3.68 ▲0.31 | 53.25 ▲7.61 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 95.19 ▼1.31 |
Media Library /wp-admin/upload.php | 3.49 ▲0.25 | 40.79 ▲3.05 |
Server storage [IO: ▲14.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 709 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_imlt_speed_tests |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Debug Assistant
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲34 | 14.36 ▼0.01 | 1.70 ▼0.11 | 39.62 ▼3.61 |
Dashboard /wp-admin | 2,208 ▲28 | 5.62 ▲0.01 | 94.40 ▼6.19 | 42.38 ▼0.17 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.07 ▲0.05 | 40.69 ▲3.18 | 36.16 ▲1.14 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 18.10 ▼5.51 | 638.21 ▲4.62 | 76.65 ▲25.94 |
Media Library /wp-admin/upload.php | 1,419 ▲16 | 4.18 ▼0.12 | 99.11 ▲3.62 | 45.11 ▼0.27 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 11× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/debug-assistant/public/index.php
- > /wp-content/plugins/debug-assistant/public/wp-config-restore.php
- > /wp-content/plugins/debug-assistant/index.php
- > /wp-content/plugins/debug-assistant/views/index.php
- > /wp-content/plugins/debug-assistant/assets/js/index.php
- > /wp-content/plugins/debug-assistant/classes/ImltEnviroment.php
- > /wp-content/plugins/debug-assistant/assets/images/index.php
- > /wp-content/plugins/debug-assistant/classes/index.php
- > /wp-content/plugins/debug-assistant/languages/index.php
- > /wp-content/plugins/debug-assistant/assets/css/index.php
- 22× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/debug-assistant/views/queries.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/debug-assistant/views/database.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/debug-assistant/views/advanced-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/debug-assistant/views/crons.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/debug-assistant/debug-assistant.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/debug-assistant/views/header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/debug-assistant/views/php-info-env.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/debug-assistant/views/system-report-env.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/debug-assistant/views/error-logs.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/debug-assistant/views/raw-editor.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: users, speed test, hooksactions, debug, database...
debug-assistant/debug-assistant.php 92% from 13 tests
The principal PHP file in "Debug Assistant" v. 1.6 is loaded by WordPress automatically on each request
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 290 characters long)
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
Success! There were no dangerous files found in this plugin84,547 lines of code in 648 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 515 | 0 | 0 | 37,999 |
JavaScript | 66 | 4,316 | 8,939 | 24,065 |
CSS | 28 | 2,699 | 659 | 18,415 |
PHP | 37 | 634 | 157 | 3,561 |
HTML | 2 | 2 | 9 | 507 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 19.23 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 65 | 79.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 20.73% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin