Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.22ms] Passed 4 tests
This is a short check of server-side resources used by Enable Database Tools
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 34.27 ▼3.67 |
Dashboard /wp-admin | 3.38 ▲0.03 | 45.25 ▼15.33 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 44.40 ▼1.80 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 81.03 ▼8.06 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.98 ▲0.32 |
Enable DB Tools /wp-admin/options-general.php?page=enable-database-tools | 3.27 | 28.52 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Enable Database Tools: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.34 ▼0.24 | 1.62 ▼0.11 | 39.52 ▲0.36 |
Dashboard /wp-admin | 2,196 ▲16 | 5.51 ▼0.15 | 80.90 ▼9.09 | 38.24 ▼7.50 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.00 ▼0.03 | 33.06 ▼1.61 | 33.09 ▼5.08 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.05 ▲0.02 | 684.10 ▲17.17 | 59.39 ▲7.00 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.17 ▼0.06 | 93.30 ▼5.69 | 41.93 ▼1.86 |
Enable DB Tools /wp-admin/options-general.php?page=enable-database-tools | 805 | 1.99 | 23.86 | 30.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: database, optimize, innodb, tables, tools...
enable-database-tools/enable-database-tools.php Passed 13 tests
Analyzing the main PHP file in "Enable Database Tools" version 2.7
122 characters long description:
Enables you to optimize and repair InnoDB and MyISAM database tables using WordPress built-in database optimization tools.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin162 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 132 | 29 | 162 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 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 | 10 | |
▷ Global constants | 10 | 100.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
No PNG images were found in this plugin