Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▲3.18ms] Passed 4 tests
An overview of server-side resources used by HLC_sql_window
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 46.24 ▲3.29 |
Dashboard /wp-admin | 3.32 ▲0.02 | 55.71 ▲1.01 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 53.82 ▲4.43 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 97.61 ▲3.97 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.98 ▲5.55 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- Illegal file modification detected: 1 file (0.00KB) outside of "wp-content/plugins/hlc-sql-window/" and "wp-content/uploads/"
- (new file) hlc_export/.empty
Filesystem: 22 new files
Database: 1 new table, 6 new options
New tables |
---|
hlc_Queries |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by HLC_sql_window
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲141 | 13.60 ▼0.66 | 10.14 ▲8.01 | 47.72 ▲4.95 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼0.04 | 123.69 ▲9.20 | 44.95 ▲5.42 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.00 ▼0.03 | 39.46 ▼2.01 | 36.19 ▲2.68 |
Add New Post /wp-admin/post-new.php | 1,518 ▼15 | 22.95 ▼0.23 | 649.22 ▲2.30 | 48.18 ▼2.34 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.13 ▼0.10 | 104.89 ▼1.74 | 45.69 ▲2.16 |
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 does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/hlc-sql-window/admin/partials/hlc-sql-window-admin-display.php
- > /wp-content/plugins/hlc-sql-window/public/partials/hlc-sql-window-public-display.php
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 97% 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
These attributes need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== hlc-sql-window ===
)
hlc-sql-window/hlc-sql-window.php Passed 13 tests
The entry point to "HLC_sql_window" version 1.0.1 is a PHP file that has certain tags in its header comment area
41 characters long description:
This plugin provides an SQL Command page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin429 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 126 | 557 | 423 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 1.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 2 | 5.41% |
▷ Public methods | 32 | 86.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.51% |
Functions | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin