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.05MB] [CPU: ▼0.94ms] Passed 4 tests
This is a short check of server-side resources used by Easy image slideshow
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.06 | 37.99 ▼1.14 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.40 ▼2.14 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.97 ▲0.36 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 100.22 ▲8.53 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.58 ▼0.84 |
Easy image slideshow /wp-admin/options-general.php?page=easy-image-slideshow | 3.29 | 32.24 |
Server storage [IO: ▲0.39MB] [DB: ▲0.93MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_easyimage_slideshow |
New WordPress options |
---|
easyimage_title |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
easyimage_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy image slideshow
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.24 ▼0.99 | 1.72 ▼0.16 | 40.83 ▼4.65 |
Dashboard /wp-admin | 2,210 ▲19 | 5.82 ▲0.94 | 94.56 ▼6.33 | 42.03 ▲1.86 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.02 | 38.89 ▲3.89 | 34.53 ▲1.95 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.14 ▲0.03 | 582.25 ▼74.74 | 67.74 ▲17.68 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.01 | 94.80 ▼10.19 | 41.18 ▼4.18 |
Easy image slideshow /wp-admin/options-general.php?page=easy-image-slideshow | 918 | 2.19 | 25.34 | 27.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.93MB] 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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% 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 everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/easy-image-slideshow/pages/image-management-edit.php
- > /wp-content/plugins/easy-image-slideshow/pages/image-management-show.php
- > /wp-content/plugins/easy-image-slideshow/pages/image-management-add.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/easy-image-slideshow/easy-image-slideshow.php:22
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/easy-image-slideshow/easy-image-slideshow.php on line 18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: plugin, slideshow, image, gallery, widget
easy-image-slideshow/easy-image-slideshow.php 92% from 13 tests
"Easy image slideshow" version 7.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)
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 plugin1,055 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 83 | 34 | 660 |
PO File | 3 | 116 | 177 | 294 |
JavaScript | 2 | 9 | 40 | 101 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
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 | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
No PNG images were found in this plugin