Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼3.42ms] Passed 4 tests
An overview of server-side resources used by EZ SQL Reports Shortcode Widget and DB Backup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.31 | 44.28 ▼3.11 |
Dashboard /wp-admin | 3.62 ▲0.31 | 47.72 ▼0.44 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 48.86 ▼1.83 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 93.88 ▼5.62 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 36.94 ▼3.10 |
Plugin Settings /wp-admin/admin.php?page=ELISQLREPORTS-settings | 3.49 | 38.85 |
Create Report /wp-admin/admin.php?page=ELISQLREPORTS-create-report | 3.52 | 39.83 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
ELISQLREPORTS_settings_array |
widget_elisqlreports-widget |
ELISQLREPORTS_BACKUP_DB |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by EZ SQL Reports Shortcode Widget and DB Backup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.28 ▲0.06 | 1.90 ▼0.07 | 41.19 ▼0.00 |
Dashboard /wp-admin | 2,230 ▲53 | 5.67 ▲0.02 | 88.75 ▲1.38 | 70.84 ▲31.14 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 1.97 ▼0.05 | 38.48 ▼3.05 | 33.97 ▼7.64 |
Add New Post /wp-admin/post-new.php | 1,568 ▲40 | 23.08 ▲0.01 | 691.42 ▲22.14 | 52.80 ▼2.02 |
Media Library /wp-admin/upload.php | 1,429 ▲32 | 4.18 ▼0.07 | 105.85 ▼5.22 | 75.46 ▲27.75 |
Plugin Settings /wp-admin/admin.php?page=ELISQLREPORTS-settings | 1,026 | 2.05 | 25.41 | 25.65 |
Create Report /wp-admin/admin.php?page=ELISQLREPORTS-create-report | 1,074 | 2.21 | 32.63 | 31.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 9 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- ELISQLREPORTS_settings_array
- db_upgraded
- widget_elisqlreports-widget
- widget_recent-comments
- ELISQLREPORTS_BACKUP_DB
- theysaidso_admin_options
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
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/elisqlreports/images/index.php
- > /wp-content/plugins/elisqlreports/index.php
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
elisqlreports/index.php 85% from 13 tests
This is the main PHP file of "EZ SQL Reports Shortcode Widget and DB Backup" version 5.21.35, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("elisqlreports.php" instead of "index.php")
- Description: The description should be shorter than 140 characters (currently 231 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin966 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 21 | 35 | 932 |
CSS | 1 | 9 | 0 | 34 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.77 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin