Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼287.77ms] Passed 4 tests
Analyzing server-side resources used by EZ SQL Reports Shortcode Widget and DB Backup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.38 | 55.51 ▼1.26 |
Dashboard /wp-admin | 3.73 ▲0.32 | 79.15 ▲42.88 |
Posts /wp-admin/edit.php | 3.96 ▲0.31 | 48.19 ▲3.30 |
Add New Post /wp-admin/post-new.php | 7.20 ▲0.23 | 102.47 ▼1,153.03 |
Media Library /wp-admin/upload.php | 3.61 ▲0.31 | 29.09 ▼0.07 |
Plugin Settings /wp-admin/admin.php?page=ELISQLREPORTS-settings | 3.57 | 37.13 |
Create Report /wp-admin/admin.php?page=ELISQLREPORTS-create-report | 3.60 | 38.06 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 3 new options
New WordPress options |
---|
ELISQLREPORTS_BACKUP_DB |
widget_elisqlreports-widget |
ELISQLREPORTS_settings_array |
Browser metrics Passed 4 tests
EZ SQL Reports Shortcode Widget and DB Backup: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,801 ▲57 | 16.14 ▲0.39 | 5.81 ▼0.05 | 2.18 ▼0.17 |
Dashboard /wp-admin | 2,933 ▲75 | 6.16 ▼0.01 | 116.73 ▼28.58 | 176.22 ▼40.57 |
Posts /wp-admin/edit.php | 2,697 ▲3 | 3.14 ▼0.10 | 64.34 ▲2.87 | 220.62 ▲73.28 |
Add New Post /wp-admin/post-new.php | 1,716 ▲26 | 20.63 ▲0.10 | 443.44 ▲4.45 | 157.42 ▼4.13 |
Media Library /wp-admin/upload.php | 1,734 ▲36 | 5.51 ▼0.02 | 154.15 ▼6.11 | 192.32 ▲12.30 |
Plugin Settings /wp-admin/admin.php?page=ELISQLREPORTS-settings | 1,292 | 2.38 | 52.81 | 124.44 |
Create Report /wp-admin/admin.php?page=ELISQLREPORTS-create-report | 1,350 | 2.86 | 56.60 | 130.34 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 3 options in the database
- widget_elisqlreports-widget
- ELISQLREPORTS_BACKUP_DB
- ELISQLREPORTS_settings_array
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/elisqlreports/index.php
- > /wp-content/plugins/elisqlreports/images/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
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
"EZ SQL Reports Shortcode Widget and DB Backup" version 5.21.35's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file 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 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected966 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
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
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
No PNG files were detected