Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.39ms] Passed 4 tests
Server-side resources used by Left right image slideshow gallery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.61 ▲2.75 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.07 ▼0.58 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 46.05 ▲1.55 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.50 ▼15.38 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.63 ▲0.86 |
Left right slideshow /wp-admin/options-general.php?page=left-right-image-slideshow-gallery | 3.30 | 30.25 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 21 new files
Database: 1 new table, 15 new options
New tables |
---|
wp_lrisg_plugin |
New WordPress options |
---|
theysaidso_admin_options |
Lrisg_title |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Lrisg_type |
Lrisg_height |
Lrisg_slideduration |
Lrisg_persist |
Lrisg_pause |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Left right image slideshow gallery
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲113 | 13.50 ▼0.87 | 8.91 ▲7.34 | 43.27 ▲2.52 |
Dashboard /wp-admin | 2,199 ▲21 | 5.66 ▼0.01 | 94.52 ▼5.62 | 43.42 ▼1.62 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.04 | 35.11 ▼4.65 | 32.46 ▲0.54 |
Add New Post /wp-admin/post-new.php | 1,531 ▲2 | 23.29 ▲0.19 | 679.75 ▲71.02 | 60.17 ▲7.17 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.12 ▼0.10 | 96.59 ▼11.71 | 40.63 ▼5.78 |
Left right slideshow /wp-admin/options-general.php?page=left-right-image-slideshow-gallery | 1,051 | 2.30 | 23.17 | 28.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Please fix the following items
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/left-right-image-slideshow-gallery/pages/image-management-add.php
- > /wp-content/plugins/left-right-image-slideshow-gallery/pages/image-setting.php
- > /wp-content/plugins/left-right-image-slideshow-gallery/left-right-image-slideshow-gallery.php
- > /wp-content/plugins/left-right-image-slideshow-gallery/pages/image-management-edit.php
- > /wp-content/plugins/left-right-image-slideshow-gallery/pages/image-management-show.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
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
3 plugin tags: image, slideshow, gallery
left-right-image-slideshow-gallery/left-right-image-slideshow-gallery.php 92% from 13 tests
The main file in "Left right image slideshow gallery" v. 12.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 353 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,482 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 93 | 44 | 858 |
PO File | 3 | 196 | 292 | 451 |
JavaScript | 2 | 17 | 23 | 173 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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
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 |
inc/image-icon.png | 0.61KB | 0.66KB | 0.00% |