Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.56ms] Passed 4 tests
This is a short check of server-side resources used by Several Images Slider Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 38.65 ▼3.50 |
Dashboard /wp-admin | 3.32 ▲0.01 | 43.89 ▼1.31 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.26 ▼2.43 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.28 ▼10.99 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.30 ▲2.49 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
sisw_gwl_version |
theysaidso_admin_options |
widget_sisw_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Several Images Slider Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲178 | 13.94 ▼0.30 | 8.42 ▲6.42 | 38.36 ▼9.30 |
Dashboard /wp-admin | 2,200 ▲12 | 5.77 ▲0.88 | 98.34 ▼4.90 | 38.84 ▼6.52 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▲0.01 | 40.76 ▲0.08 | 35.93 ▼3.20 |
Add New Post /wp-admin/post-new.php | 1,519 ▼23 | 23.38 ▲5.13 | 699.63 ▲65.65 | 57.14 ▲4.59 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.23 ▲0.04 | 97.89 ▼2.03 | 40.29 ▼2.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- sisw_gwl_version
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_sisw_widget
- can_compress_scripts
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 no errors were found, this is by no means an exhaustive test
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 items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/several-images-slider-widget/main.php
- > /wp-content/plugins/several-images-slider-widget/includes/image_widget.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Requires php: Invalid version format
- Requires at least: Invalid version format
several-images-slider-widget/main.php 77% from 13 tests
The entry point to "Several Images Slider Widget" version 2.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("several-images-slider-widget.php" instead of "main.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 254 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin2,766 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 517 | 969 | 2,123 |
PHP | 3 | 43 | 28 | 364 |
CSS | 4 | 8 | 17 | 279 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 28.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 8.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/drag_icon.png | 0.27KB | 0.30KB | 0.00% |