84% vertical-scroll-image-slideshow-gallery

Code Review | Vertical scroll image slideshow gallery

WordPress plugin Vertical scroll image slideshow gallery scored84%from 54 tests.

About plugin

  • Plugin page: vertical-scroll-i...
  • Plugin version: 11.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-6.1
  • WordPress version: 6.3.1
  • First release: Jul 10, 2009
  • Latest release: Dec 1, 2022
  • Number of updates: 89
  • Update frequency: every 55.0 days
  • Top authors: gopiplus (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /39,554 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.05MB] [CPU: ▼3.99ms] Passed 4 tests

Analyzing server-side resources used by Vertical scroll image slideshow gallery
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0536.85 ▼7.95
Dashboard /wp-admin3.35 ▲0.0553.78 ▲6.86
Posts /wp-admin/edit.php3.40 ▲0.0545.64 ▲1.61
Add New Post /wp-admin/post-new.php5.93 ▲0.0583.72 ▼6.69
Media Library /wp-admin/upload.php3.27 ▲0.0434.64 ▼2.94

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 12 new options
New WordPress options
widget_recent-posts
db_upgraded
VSslideshow_time
VSslideshow_title
VSslideshow_width
VSslideshow_height
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
VSslideshow_imglink
...

Browser metrics Passed 4 tests

A check of browser resources used by Vertical scroll image slideshow gallery
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.22 ▼1.022.00 ▲0.0039.72 ▼11.30
Dashboard /wp-admin2,209 ▲244.86 ▼1.05114.79 ▲12.1643.15 ▼3.52
Posts /wp-admin/edit.php2,089 ▼02.03 ▼0.0239.30 ▲3.8936.00 ▼0.22
Add New Post /wp-admin/post-new.php1,533 ▼023.47 ▲0.49662.72 ▼7.3257.36 ▼0.18
Media Library /wp-admin/upload.php1,382 ▼64.29 ▲0.0499.43 ▼6.2443.20 ▼3.16

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • 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
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/vertical-scroll-image-slideshow-gallery/vertical-scroll-image-slideshow-gallery.php:212

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: slideshow, images, vertical, scroll, gallery

vertical-scroll-image-slideshow-gallery/vertical-scroll-image-slideshow-gallery.php Passed 13 tests

"Vertical scroll image slideshow gallery" version 11.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
110 characters long description:
This vertical scroll image slideshow gallery is a simple image vertical scroll slideshow plugin for WordPress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin391 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP23016192
JavaScript181108
PO File2222491

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin