83% ultimate-responsive-image-slider

Code Review | Slider - Ultimate Responsive Image Slider

WordPress plugin Slider - Ultimate Responsive Image Slider scored83%from 54 tests.

About plugin

  • Plugin page: ultimate-responsi...
  • Plugin version: 3.5.14
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Mar 2, 2015
  • Latest release: Nov 23, 2023
  • Number of updates: 143
  • Update frequency: every 22.3 days
  • Top authors: weblizar (55.24%)FARAZFRANK (44.76%)wpshopmart (1.4%)

Code review

54 tests

User reviews

236 reviews

Install metrics

40,000+ active /1,360,213 total downloads

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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.19MB] [CPU: ▼6.97ms] Passed 4 tests

An overview of server-side resources used by Slider - Ultimate Responsive Image Slider
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.1935.34 ▼10.20
Dashboard /wp-admin3.51 ▲0.1646.77 ▼15.71
Posts /wp-admin/edit.php3.63 ▲0.2648.38 ▲1.20
Add New Post /wp-admin/post-new.php6.11 ▲0.2292.52 ▼3.18
Media Library /wp-admin/upload.php3.43 ▲0.2035.54 ▲1.42
Our Pro Plugin /wp-admin/edit.php?post_type=ris_gallery&page=wpfuris_products3.4032.21
Help & Support /wp-admin/edit.php?post_type=ris_gallery&page=uris-help-page3.4031.10
All Sliders /wp-admin/edit.php?post_type=ris_gallery3.4836.91
Recover Old Sliders /wp-admin/edit.php?post_type=ris_gallery&page=uris-recover-slider3.4232.58
Add New Slider /wp-admin/post-new.php?post_type=ris_gallery3.8949.14

Server storage [IO: ▲5.50MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 155 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-comments
WRIS_Settings
widget_recent-posts
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Slider - Ultimate Responsive Image Slider
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,837 ▲5014.25 ▼0.021.57 ▼0.6139.91 ▼2.03
Dashboard /wp-admin2,239 ▲595.60 ▼0.0692.42 ▼1.9443.06 ▲5.82
Posts /wp-admin/edit.php2,144 ▲442.02 ▲0.0839.36 ▲0.7735.66 ▼4.83
Add New Post /wp-admin/post-new.php1,563 ▲3723.26 ▲0.15677.36 ▲54.5749.26 ▲0.92
Media Library /wp-admin/upload.php1,444 ▲414.21 ▼0.0399.56 ▼2.6941.36 ▼2.99
Our Pro Plugin /wp-admin/edit.php?post_type=ris_gallery&page=wpfuris_products9101.9824.2340.32
Help & Support /wp-admin/edit.php?post_type=ris_gallery&page=uris-help-page8682.1525.8649.30
All Sliders /wp-admin/edit.php?post_type=ris_gallery1,2591.9534.2440.51
Recover Old Sliders /wp-admin/edit.php?post_type=ris_gallery&page=uris-recover-slider8911.9921.4224.51
Add New Slider /wp-admin/post-new.php?post_type=ris_gallery4,7908.74252.22235.10

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • WRIS_Settings
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
    • > GET request to /wp-admin/edit.php?post_type=ris_gallery
    • > Network (severe)
    wp-content/plugins/ultimate-responsive-image-slider/assets/img/ultimate.png - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
  • Screenshots: No descriptions were found for these screenshots #12, #13, #14 in ultimate-responsive-image-slider/assets to your readme.txt
  • Screenshots: Please add an image for screenshot #4 (Slider Preview Without Bullets & Thumbnail Navigation)
You can look at the official readme.txt

ultimate-responsive-image-slider/ultimate-responsive-image-slider.php 92% from 13 tests

"Slider - Ultimate Responsive Image Slider" version 3.5.14's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 144 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
No dangerous file extensions were detected42,222 lines of code in 87 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript92,8152,12813,543
CSS171,9632,26512,985
SVG40125,551
PO File161,9052,1314,458
PHP92211331,912
Sass1643341,903
LESS1641511,870

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity11.00
▷ Minimum class complexity1.00
▷ Maximum class complexity21.00
Average method complexity1.91
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods22
▷ Static methods418.18%
▷ Public methods2195.45%
▷ Protected methods00.00%
▷ Private methods14.55%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
24 PNG files occupy 0.37MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/preview/Full Screen Slide Show.png4.14KB1.70KB▼ 58.88%
assets/img/preview/Navigation Bullets Color.png5.53KB1.61KB▼ 70.87%
assets/img/preview/Display Slide Description.png3.62KB1.42KB▼ 60.73%
assets/img/preview/Navigation Color.png8.78KB3.74KB▼ 57.47%
assets/img/preview/Display Slider Post Title.png5.41KB2.99KB▼ 44.68%