84% woo-superb-slideshow-transition-gallery-with-random-effect

Code Review | Woo superb slideshow transition gallery with random effect

WordPress plugin Woo superb slideshow transition gallery with random effect scored 84% from 54 tests.

About plugin

  • Plugin page: woo-superb-slides...
  • Plugin version: 9.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-6.1
  • WordPress version: 6.3.1
  • First release: Sep 23, 2010
  • Latest release: Dec 1, 2022
  • Number of updates: 53
  • Update frequency: every 84.1 days
  • Top authors: gopiplus (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active / 18,566 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
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.89ms] Passed 4 tests

This is a short check of server-side resources used by Woo superb slideshow transition gallery with random effect
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.25 ▲1.27
Dashboard /wp-admin3.32 ▲0.0148.95 ▼0.50
Posts /wp-admin/edit.php3.37 ▲0.0147.34 ▲2.51
Add New Post /wp-admin/post-new.php5.90 ▲0.0185.42 ▼18.83
Media Library /wp-admin/upload.php3.24 ▲0.0141.02 ▲6.75
Woo superb slideshow /wp-admin/options-general.php?page=woo-superb-slideshow3.2932.56

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 20 new files
Database: 1 new table, 11 new options
New tables
wp_woo_transition
New WordPress options
widget_recent-posts
woo_type
woo_transduration
db_upgraded
theysaidso_admin_options
woo_title
woo_pause
can_compress_scripts
widget_recent-comments
woo_random
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Woo superb slideshow transition gallery with random effect
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲7313.24 ▼1.141.79 ▼0.6443.64 ▼8.79
Dashboard /wp-admin2,207 ▲165.79 ▼0.1594.61 ▼4.9641.46 ▼3.07
Posts /wp-admin/edit.php2,090 ▲12.03 ▲0.0134.75 ▲0.2430.19 ▼4.59
Add New Post /wp-admin/post-new.php1,545 ▲2618.45 ▼4.79630.49 ▼10.8455.23 ▲3.30
Media Library /wp-admin/upload.php1,395 ▲74.23 ▲0.0594.93 ▼6.4741.91 ▼2.37
Woo superb slideshow /wp-admin/options-general.php?page=woo-superb-slideshow1,0152.0426.7025.48

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • 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 | 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/woo-superb-slideshow-transition-gallery-with-random-effect/woo-superb-slideshow-transition-gallery-with-random-effect.php
    • > /wp-content/plugins/woo-superb-slideshow-transition-gallery-with-random-effect/pages/image-management-add.php
    • > /wp-content/plugins/woo-superb-slideshow-transition-gallery-with-random-effect/pages/image-setting.php
    • > /wp-content/plugins/woo-superb-slideshow-transition-gallery-with-random-effect/pages/image-management-edit.php
    • > /wp-content/plugins/woo-superb-slideshow-transition-gallery-with-random-effect/pages/image-management-show.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
Please take inspiration from this readme.txt

woo-superb-slideshow-transition-gallery-with-random-effect/woo-superb-slideshow-transition-gallery-with-random-effect.php 92% from 13 tests

"Woo superb slideshow transition gallery with random effect" version 9.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,277 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP67744807
PO File2127192293
JavaScript21027170
CSS12147

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.30
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
inc/image-icon.png0.61KB0.66KB0.00%