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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.91ms] Passed 4 tests
Analyzing server-side resources used by Multiple Images Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.26 ▼1.79 |
Dashboard /wp-admin | 3.32 ▲0.02 | 58.69 ▲2.11 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.49 ▼10.49 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 96.58 ▼15.05 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.14 ▼4.29 |
Server storage [IO: ▲0.42MB] [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, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_miw_widget_multiple_images |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Multiple Images Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲143 | 13.89 ▼0.49 | 11.99 ▲9.77 | 52.31 ▼2.59 |
Dashboard /wp-admin | 2,205 ▲14 | 5.89 ▼0.02 | 117.15 ▼16.11 | 50.14 ▼4.36 |
Posts /wp-admin/edit.php | 2,094 ▲2 | 2.02 ▲0.01 | 41.82 ▼7.99 | 34.32 ▼9.96 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 21.10 ▼2.07 | 704.03 ▼82.03 | 60.66 ▼3.20 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.12 ▼0.08 | 116.75 ▼10.19 | 53.46 ▼4.99 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_miw_widget_multiple_images
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Add Multiple Images Widget Use Your Sidebar), #2 (Add Title, Add Image Link, Select Open Link In New Tab, Upload Your Image), #3 (New Image Section Add)
- Donate link: Invalid URI found ("")
multiple-images-widget/multiple-image-widget.php 92% from 13 tests
This is the main PHP file of "Multiple Images Widget" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("multiple-images-widget.php" instead of "multiple-image-widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin209 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 30 | 162 |
PO File | 1 | 15 | 15 | 46 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 6.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
3 PNG files occupy 0.40MB with 0.29MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 167.81KB | 47.36KB | ▼ 71.78% |
screenshot-1.png | 99.44KB | 29.32KB | ▼ 70.52% |
screenshot-2.png | 147.04KB | 42.32KB | ▼ 71.22% |