Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.75ms] 75% from 4 tests
Server-side resources used by MySQL Process List
It is recommended to improve the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 2,909.46ms on /wp-admin/tools.php?page=mysql-process-list)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.44 ▼4.38 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.20 ▼1.55 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.64 ▲4.14 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.48 ▼12.55 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.71 ▼0.50 |
MySQL Process List /wp-admin/tools.php?page=mysql-process-list | 3.24 | 2,909.46 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for MySQL Process List
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.21 ▼1.54 | 1.85 ▲0.12 | 39.44 ▼0.49 |
Dashboard /wp-admin | 2,210 ▲22 | 5.87 ▼0.03 | 96.13 ▼16.72 | 43.97 ▼0.23 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.99 ▼0.04 | 34.37 ▼4.28 | 35.02 ▲3.42 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.17 ▲4.89 | 649.80 ▼9.45 | 57.56 ▼0.28 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.22 ▲0.09 | 99.77 ▼3.76 | 45.50 ▼1.49 |
MySQL Process List /wp-admin/tools.php?page=mysql-process-list | 920 | 2.20 | 28.61 | 31.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mysql-process-list/mysql-process-list.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: query, mysql, process list
mysql-process-list/mysql-process-list.php Passed 13 tests
The main PHP file in "MySQL Process List" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
56 characters long description:
Show MySQL Process list under Tools > MySQL Process List
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin585 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 12 | 3 | 488 |
PHP | 1 | 23 | 16 | 97 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 0 | |
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 | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/pluginsclub_logo_black.png | 22.36KB | 10.65KB | ▼ 52.36% |