Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.52ms] Passed 4 tests
An overview of server-side resources used by Up down image slideshow gallery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.56 ▼0.20 |
Dashboard /wp-admin | 3.37 ▲0.06 | 43.59 ▼3.99 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.83 ▲1.62 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 92.09 ▼5.49 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 30.54 ▼4.38 |
Up down slideshow /wp-admin/options-general.php?page=up-down-image-slideshow-gallery | 3.30 | 28.94 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: 1 new table, 15 new options
New tables |
---|
wp_udisg_plugin |
New WordPress options |
---|
udisg_pause |
db_upgraded |
udisg_width |
widget_recent-posts |
udisg_random |
widget_recent-comments |
udisg_cycles |
udisg_height |
udisg_title |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Up down image slideshow gallery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲113 | 13.63 ▼0.71 | 7.57 ▲5.94 | 35.84 ▼1.06 |
Dashboard /wp-admin | 2,202 ▲25 | 5.64 ▲0.03 | 82.10 ▼3.96 | 37.45 ▼6.21 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.02 | 40.48 ▲4.59 | 35.21 ▼1.35 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 18.50 ▼4.38 | 602.53 ▼71.25 | 65.31 ▲5.59 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.03 | 92.92 ▼4.92 | 39.56 ▼6.55 |
Up down slideshow /wp-admin/options-general.php?page=up-down-image-slideshow-gallery | 1,051 | 2.17 | 24.06 | 25.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 15 options in the database
- udisg_title
- udisg_type
- widget_recent-comments
- udisg_width
- udisg_height
- udisg_random
- udisg_pause
- can_compress_scripts
- udisg_slideduration
- widget_recent-posts
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/up-down-image-slideshow-gallery/up-down-image-slideshow-gallery.php
- > /wp-content/plugins/up-down-image-slideshow-gallery/pages/image-setting.php
- > /wp-content/plugins/up-down-image-slideshow-gallery/pages/image-management-add.php
- > /wp-content/plugins/up-down-image-slideshow-gallery/pages/image-management-edit.php
- > /wp-content/plugins/up-down-image-slideshow-gallery/pages/image-management-show.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: image, gallery, slideshow
up-down-image-slideshow-gallery/up-down-image-slideshow-gallery.php 92% from 13 tests
"Up down image slideshow gallery" version 12.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 348 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,322 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 91 | 44 | 853 |
PO File | 2 | 130 | 193 | 296 |
JavaScript | 2 | 17 | 24 | 173 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/image-icon.png | 0.61KB | 0.66KB | 0.00% |