90% wp-team-showcase-and-slider

Code Review | Team Slider and Team Grid Showcase plus Team Carousel

WordPress plugin Team Slider and Team Grid Showcase plus Team Carousel scored90%from 54 tests.

About plugin

  • Plugin page: wp-team-showcase-...
  • Plugin version: 2.8
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Jan 9, 2016
  • Latest release: Nov 27, 2023
  • Number of updates: 85
  • Update frequency: every 33.9 days
  • Top authors: anoopranawat (64.71%)wponlinesupport (36.47%)

Code review

54 tests

User reviews

18 reviews

Install metrics

4,000+ active /103,475 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.47MB] [CPU: ▼0.21ms] Passed 4 tests

Analyzing server-side resources used by Team Slider and Team Grid Showcase plus Team Carousel
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.88 ▲0.4242.55 ▲1.95
Dashboard /wp-admin3.84 ▲0.4951.68 ▼9.36
Posts /wp-admin/edit.php3.89 ▲0.5450.21 ▲5.53
Add New Post /wp-admin/post-new.php6.39 ▲0.5196.97 ▲3.91
Media Library /wp-admin/upload.php3.70 ▲0.4737.64 ▲2.65

Server storage [IO: ▲0.62MB] [DB: ▲0.07MB] Passed 3 tests

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 78 new files
Database: no new tables, 8 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
wpos_anylc_site_uid
db_upgraded
wpos_anylc_redirect
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Team Slider and Team Grid Showcase plus Team Carousel
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /1,555 ▼1,20710.24 ▼4.011.65 ▼0.0118.57 ▼25.44
Dashboard /wp-admin2,221 ▲415.53 ▼0.1099.25 ▲10.6247.24 ▲5.14
Posts /wp-admin/edit.php2,125 ▲222.01 ▲0.0136.70 ▼1.9634.09 ▼3.63
Add New Post /wp-admin/post-new.php6,221 ▲4,69519.41 ▼3.59930.12 ▲253.9662.16 ▲3.67
Media Library /wp-admin/upload.php1,419 ▲224.22 ▲0.0596.54 ▼13.4939.88 ▼6.85

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 8 options
    • can_compress_scripts
    • wpos_anylc_site_uid
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • wpos_anylc_redirect

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Tags: You are using too many tags: 29 tag instead of maximum 10
Please take inspiration from this readme.txt

wp-team-showcase-and-slider/wp-team-showcase-and-slider.php Passed 13 tests

"Team Slider and Team Grid Showcase plus Team Carousel" version 2.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
135 characters long description:
Easy to add and display your employees, team members in Grid view, Slider view and in widget. Also work with Gutenberg shortcode block.

Code Analysis Passed 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
Success! There were no dangerous files found in this plugin4,601 lines of code in 46 files:
LanguageFilesBlank linesComment linesLines of code
PHP286891,0073,375
CSS76428589
JavaScript810746346
PO File1125142289
JSON2002

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.55
Average class complexity21.88
▷ Minimum class complexity3.00
▷ Maximum class complexity87.00
Average method complexity4.09
▷ Minimum method complexity1.00
▷ Maximum method complexity20.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes225.00%
Methods54
▷ Static methods23.70%
▷ Public methods5092.59%
▷ Protected methods00.00%
▷ Private methods47.41%
Functions42
▷ Named functions42100.00%
▷ Anonymous functions00.00%
Constants19
▷ Global constants19100.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
27 PNG files occupy 0.17MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/beaver-icon.png8.91KB2.90KB▼ 67.42%
assets/images/wordpress-icon-logo.png9.40KB4.89KB▼ 48.02%
assets/images/g-logo.png41.17KB14.04KB▼ 65.90%
assets/images/elementor-icon.png5.25KB2.42KB▼ 53.85%
assets/images/SlidersPack-50.png6.48KB2.79KB▼ 56.91%