57% uix-slideshow

Code Review | Uix Slideshow

WordPress plugin Uix Slideshow scored 57% from 54 tests.

About plugin

  • Plugin page: uix-slideshow
  • Plugin version: 1.6.5
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-6.1
  • WordPress version: 6.3.1
  • First release: Sep 13, 2016
  • Latest release: Nov 13, 2022
  • Number of updates: 207
  • Update frequency: every 10.9 days
  • Top authors: uiuxlab (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 8,305 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▼0.35MB] [CPU: ▼29.66ms] Passed 4 tests

This is a short check of server-side resources used by Uix Slideshow
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.75 ▲0.2943.06 ▲1.98
Dashboard /wp-admin3.62 ▲0.3126.45 ▼24.27
Posts /wp-admin/edit.php3.62 ▲0.2628.38 ▼21.05
Add New Post /wp-admin/post-new.php3.62 ▼2.2726.64 ▼70.58
Media Library /wp-admin/upload.php3.62 ▲0.3930.15 ▼2.73
Settings /wp-admin/admin.php?page=uix-slideshow-helper&tab=general-settings3.6230.76
Custom CSS /wp-admin/admin.php?page=uix-slideshow-helper&tab=custom-css3.6225.76
Uix Slideshow /wp-admin/edit.php?post_type=uix-slideshow3.6234.65
For Theme Developer /wp-admin/admin.php?page=uix-slideshow-helper&tab=for-developer3.6226.09
About /wp-admin/edit.php?post_type=uix-slideshow&page=uix-slideshow-helper3.6227.70
Template Files /wp-admin/admin.php?page=uix-slideshow-helper&tab=temp3.6225.61
Add New Item /wp-admin/post-new.php?post_type=uix-slideshow3.6226.16
How to use? /wp-admin/admin.php?page=uix-slideshow-helper&tab=usage3.6225.31

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 135 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Uix Slideshow
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,965 ▲19413.54 ▼0.719.69 ▲7.8940.07 ▼0.68
Dashboard /wp-admin2,257 ▲724.86 ▼1.14109.77 ▼14.3345.52 ▲0.69
Posts /wp-admin/edit.php2,140 ▲512.00 ▼0.0538.14 ▼3.4833.22 ▼13.34
Add New Post /wp-admin/post-new.php1,583 ▲4821.44 ▼1.65682.39 ▼39.2637.78 ▼25.60
Media Library /wp-admin/upload.php1,442 ▲544.29 ▲0.05110.51 ▲6.6946.68 ▲2.37
Settings /wp-admin/admin.php?page=uix-slideshow-helper&tab=general-settings1,1552.1043.1929.17
Custom CSS /wp-admin/admin.php?page=uix-slideshow-helper&tab=custom-css9992.1038.6936.49
Uix Slideshow /wp-admin/edit.php?post_type=uix-slideshow1,1592.0133.7935.20
For Theme Developer /wp-admin/admin.php?page=uix-slideshow-helper&tab=for-developer9362.0934.3836.34
About /wp-admin/edit.php?post_type=uix-slideshow&page=uix-slideshow-helper9472.1034.6231.83
Template Files /wp-admin/admin.php?page=uix-slideshow-helper&tab=temp9342.1035.4031.61
Add New Item /wp-admin/post-new.php?post_type=uix-slideshow3,0558.57253.7357.28
How to use? /wp-admin/admin.php?page=uix-slideshow-helper&tab=usage1,6119.38328.2989.15

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin cannot be uninstalled
    • > Warning in wp-admin/includes/class-wp-filesystem-direct.php+558
    mkdir(): No such file or directory
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 0% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=uix-slideshow-helper&tab=usage
    • > Warning in wp-admin/includes/class-wp-filesystem-direct.php+558
    mkdir(): No such file or directory

SRP 0% 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 take a closer look at the following
  • 7× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/uix-slideshow/helper/tabs/for-developer.php
    • > /wp-content/plugins/uix-slideshow/helper/tabs/general-settings.php
    • > /wp-content/plugins/uix-slideshow/helper/tabs/custom-css.php
    • > /wp-content/plugins/uix-slideshow/helper/tabs/about.php
    • > /wp-content/plugins/uix-slideshow/helper/tabs/credits.php
    • > /wp-content/plugins/uix-slideshow/helper/tabs/usage.php
    • > /wp-content/plugins/uix-slideshow/helper/tabs/temp.php
  • 19× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uix-slideshow/helper/settings.php:22
    • > PHP Fatal error
      Uncaught Error: Class 'Uix_Slideshow_Custom_Metaboxes' not found in wp-content/plugins/uix-slideshow/includes/admin/uix-custom-metaboxes/controls/text.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Uix_Slideshow_Custom_Metaboxes' not found in wp-content/plugins/uix-slideshow/includes/admin/uix-custom-metaboxes/controls/multi-checkbox.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Uix_Slideshow_Custom_Metaboxes' not found in wp-content/plugins/uix-slideshow/includes/admin/uix-custom-metaboxes/controls/checkbox.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Uix_Slideshow_Custom_Metaboxes' not found in wp-content/plugins/uix-slideshow/includes/admin/uix-custom-metaboxes/controls/image.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Uix_Slideshow_Custom_Metaboxes' not found in wp-content/plugins/uix-slideshow/includes/admin/uix-custom-metaboxes/controls/price.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Uix_Slideshow_Custom_Metaboxes' not found in wp-content/plugins/uix-slideshow/includes/admin/uix-custom-metaboxes/controls/textarea.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Uix_Slideshow_Custom_Metaboxes' not found in wp-content/plugins/uix-slideshow/includes/admin/uix-custom-metaboxes/controls/editor.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Uix_Slideshow_Custom_Metaboxes' not found in wp-content/plugins/uix-slideshow/includes/admin/uix-custom-metaboxes/controls/multi-portfolio.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Uix_Slideshow_Custom_Metaboxes' not found in wp-content/plugins/uix-slideshow/includes/admin/uix-custom-metaboxes/controls/number.php:6

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
    • > GET request to /wp-admin/admin.php?page=uix-slideshow-helper&tab=usage
    • > Other (warning) in unknown
    /wp-admin/admin.php?page=uix-slideshow-helper&tab=usage 176 Unrecognized feature: 'web-share'.

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: post type, carousel, slides, slider, slideshow

uix-slideshow/uix-slideshow.php Passed 13 tests

The entry point to "Uix Slideshow" version 1.6.5 is a PHP file that has certain tags in its header comment area
103 characters long description:
This plugin is a simple way to build, organize and display slideshow into any existing WordPress theme.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected25,245 lines of code in 119 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript741,3591,22618,421
PHP321,6126883,067
CSS115743522,718
Markdown12260536
PO File1152165503

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.54
Average class complexity23.30
▷ Minimum class complexity2.00
▷ Maximum class complexity111.00
Average method complexity6.65
▷ Minimum method complexity1.00
▷ Maximum method complexity65.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes20
▷ Abstract classes00.00%
▷ Concrete classes20100.00%
▷ Final classes00.00%
Methods79
▷ Static methods7898.73%
▷ Public methods79100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants350.00%
▷ Class constants350.00%
▷ Public constants3100.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 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
includes/tinymce/icon.png15.68KB0.36KB▼ 97.70%