79% logo-showcase-with-slick-slider

Code Review | Logo Showcase with Slick Slider - Logo Carousel, Logo Slider & Logo Grid

WordPress plugin Logo Showcase with Slick Slider - Logo Carousel, Logo Slider & Logo Grid scored79%from 54 tests.

About plugin

  • Plugin page: logo-showcase-wit...
  • Plugin version: 3.2.3
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Apr 4, 2018
  • Latest release: Nov 14, 2023
  • Number of updates: 41
  • Update frequency: every 50.0 days
  • Top authors: pluginandplay (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

4,000+ active /36,829 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: ▲5.45MB] [CPU: ▲26.62ms] 75% from 4 tests

An overview of server-side resources used by Logo Showcase with Slick Slider - Logo Carousel, Logo Slider & Logo Grid
Please have a look at the following items
  • Extra RAM: Try to keep extra memory usage under 5MB (currently 5.45MB on /wp-admin/admin.php?page=freemius)
PageMemory (MB)CPU Time (ms)
Home /9.26 ▲5.8075.21 ▲34.15
Dashboard /wp-admin9.28 ▲5.9376.75 ▲15.66
Posts /wp-admin/edit.php9.28 ▲5.9276.89 ▲25.63
Add New Post /wp-admin/post-new.php10.04 ▲4.15125.15 ▲31.05
Media Library /wp-admin/upload.php9.28 ▲6.0568.44 ▲35.73
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius9.2864.07

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 216 new files
Database: no new tables, 10 new options
New WordPress options
fs_active_plugins
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
lswss_version
widget_recent-posts
fs_debug_mode
db_upgraded
fs_accounts
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Logo Showcase with Slick Slider - Logo Carousel, Logo Slider & Logo Grid
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲8014.07 ▼0.271.75 ▲0.0632.26 ▼11.19
Dashboard /wp-admin2,227 ▲495.69 ▼0.0290.69 ▼25.2842.55 ▲2.91
Posts /wp-admin/edit.php2,136 ▲361.95 ▼0.0241.15 ▲0.5139.69 ▲2.16
Add New Post /wp-admin/post-new.php1,544 ▲1823.37 ▲0.54651.46 ▼51.7047.03 ▼8.77
Media Library /wp-admin/upload.php1,432 ▲324.15 ▼0.0799.73 ▼12.9744.55 ▼3.41
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius1,0841.6523.4629.47

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin cannot be uninstalled
    • > Notice in wp-content/plugins/logo-showcase-with-slick-slider/freemius/includes/class-freemius.php+8546
    Undefined property: stdClass::$plugins
  • Zombie WordPress options were found after uninstall: 10 options
    • fs_debug_mode
    • widget_recent-comments
    • theysaidso_admin_options
    • fs_active_plugins
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • fs_accounts
    • lswss_version

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

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)
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
  • Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt might help

logo-showcase-with-slick-slider/logo-showcase-with-slick-slider.php 92% from 13 tests

The main PHP file in "Logo Showcase with Slick Slider - Logo Carousel, Logo Slider & Logo Grid" ver. 3.2.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 190 characters long)

Code Analysis 97% from 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
There were no executable files found in this plugin35,861 lines of code in 165 files:
LanguageFilesBlank linesComment linesLines of code
PHP1418,49717,88134,972
JavaScript8125111503
Markdown1680214
CSS152212172

PHP code 50% from 2 tests

A short review of cyclomatic complexity and code structure
Please fix the following
  • Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity
Average complexity per logical line of code0.61
Average class complexity82.62
▷ Minimum class complexity1.00
▷ Maximum class complexity3,096.00
Average method complexity4.59
▷ Minimum method complexity1.00
▷ Maximum method complexity94.00
Code structure
Namespaces0
Interfaces1
Traits0
Classes55
▷ Abstract classes23.64%
▷ Concrete classes5396.36%
▷ Final classes11.89%
Methods1,301
▷ Static methods20215.53%
▷ Public methods89768.95%
▷ Protected methods171.31%
▷ Private methods38729.75%
Functions125
▷ Named functions125100.00%
▷ Anonymous functions00.00%
Constants155
▷ Global constants10869.68%
▷ Class constants4730.32%
▷ Public constants47100.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
8 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/style-mngr-settings.png26.45KB14.56KB▼ 44.96%
freemius/assets/img/logo-showcase-with-slick-slider.png7.15KB1.56KB▼ 78.18%
assets/images/common-pro-settings.png14.03KB8.02KB▼ 42.87%
freemius/assets/img/plugin-icon.png9.16KB5.26KB▼ 42.58%
freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%