Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼5.22ms] Passed 4 tests
An overview of server-side resources used by Database Debugging Tools for Developers
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 38.77 ▼3.40 |
Dashboard /wp-admin | 3.44 ▲0.14 | 52.22 ▼0.53 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 48.61 ▼4.10 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 93.57 ▼12.86 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 42.25 ▲2.83 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Database Debugging Tools for Developers
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.16 ▼0.12 | 1.99 ▲0.28 | 43.35 ▲1.68 |
Dashboard /wp-admin | 2,211 ▲31 | 5.63 ▼0.07 | 90.07 ▼3.25 | 40.41 ▼7.70 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 1.99 ▲0.05 | 34.33 ▼6.32 | 30.02 ▼5.78 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.09 ▼0.00 | 655.01 ▼46.19 | 53.40 ▼9.57 |
Media Library /wp-admin/upload.php | 1,419 ▲16 | 4.17 ▼0.04 | 106.49 ▲1.82 | 46.59 ▼0.65 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function ddt_x_wp_db_tools\\is_admin() in wp-content/plugins/database-debugging-tools-for-developers/wp-db-backup.php:379
- > PHP Fatal error
Uncaught Error: Call to undefined function ddt_x_wp_db_tools\\ddt_get_options() in wp-content/plugins/database-debugging-tools-for-developers/wp-db-diff.php:146
- > PHP Fatal error
Uncaught Error: Call to undefined function ddt_x_wp_db_tools\\is_admin() in wp-content/plugins/database-debugging-tools-for-developers/wp-db-backup.php:379
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid URI found ("")
database-debugging-tools-for-developers/wp-db-tools-loader.php 92% from 13 tests
The main file in "Database Debugging Tools for Developers" v. 2.2.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("database-debugging-tools-for-developers.php" instead of "wp-db-tools-loader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,853 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 132 | 182 | 1,301 |
JavaScript | 3 | 33 | 22 | 399 |
CSS | 1 | 15 | 1 | 153 |
PHP code Passed 2 tests
This is a short overview 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.45 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 62 | |
▷ Named functions | 29 | 46.77% |
▷ Anonymous functions | 33 | 53.23% |
Constants | 11 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 11 | 100.00% |
▷ Public constants | 11 | 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
There were not PNG files found in your plugin