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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.37ms] Passed 4 tests
An overview of server-side resources used by wp image slideshow
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 33.94 ▼3.48 |
Dashboard /wp-admin | 3.32 ▲0.02 | 42.91 ▲0.08 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.05 ▲0.70 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 80.46 ▼17.85 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.64 ▼4.22 |
Wp image slideshow /wp-admin/options-general.php?page=wp-image-slideshow | 3.29 | 30.99 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: 1 new table, 12 new options
New tables |
---|
wp_wpis_plugin |
New WordPress options |
---|
widget_recent-comments |
wpis_title |
wpis_height |
wpis_type |
wpis_random |
db_upgraded |
wpis_pause |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for wp image slideshow
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.19 ▼0.16 | 1.91 ▲0.26 | 37.22 ▼1.48 |
Dashboard /wp-admin | 2,199 ▲18 | 5.50 ▼0.21 | 87.75 ▼10.83 | 38.20 ▼6.06 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.03 ▲0.04 | 37.46 ▲2.59 | 35.52 ▲0.36 |
Add New Post /wp-admin/post-new.php | 1,531 ▼0 | 23.21 ▲0.15 | 669.80 ▲7.23 | 49.84 ▼18.73 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.17 ▲0.04 | 104.40 ▼1.86 | 44.56 ▼2.18 |
Wp image slideshow /wp-admin/options-general.php?page=wp-image-slideshow | 1,048 | 1.99 | 26.77 | 29.60 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | 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
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-image-slideshow/pages/image-management-show.php
- > /wp-content/plugins/wp-image-slideshow/pages/image-setting.php
- > /wp-content/plugins/wp-image-slideshow/pages/image-management-add.php
- > /wp-content/plugins/wp-image-slideshow/wp-image-slideshow.php
- > /wp-content/plugins/wp-image-slideshow/pages/image-management-edit.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
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: gallery, image, slideshow
wp-image-slideshow/wp-image-slideshow.php 92% from 13 tests
"wp image slideshow" version 12.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 148 characters long)
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
There were no executable files found in this plugin1,204 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 82 | 44 | 790 |
PO File | 2 | 123 | 183 | 280 |
JavaScript | 2 | 13 | 18 | 134 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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
PNG files should be compressed to save space and 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% |