90% modern-team-showcase-with-widget

Code Review | Modern Team Showcase with Widget

WordPress plugin Modern Team Showcase with Widget scored 90% from 54 tests.

About plugin

  • Plugin page: modern-team-showc...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.5.1
  • WordPress version: 5.9.2
  • First release: Sep 3, 2019
  • Latest release: Oct 11, 2020
  • Number of updates: 14
  • Update frequency: every 28.9 days
  • Top authors: pareshpachani007 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 494 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.26MB] [CPU: ▼293.96ms] Passed 4 tests

Server-side resources used by Modern Team Showcase with Widget
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /4.38 ▲0.1864.44 ▼9.00
Dashboard /wp-admin4.34 ▲0.3139.32 ▲1.14
Posts /wp-admin/edit.php4.63 ▲0.3043.64 ▼2.73
Add New Post /wp-admin/post-new.php7.87 ▲0.28100.83 ▼1,165.24
Media Library /wp-admin/upload.php4.28 ▲0.3031.96 ▲2.83
Add New Member /wp-admin/post-new.php?post_type=our-teams4.6258.57
All Members /wp-admin/edit.php?post_type=our-teams4.3330.12
Team Groups /wp-admin/edit-tags.php?taxonomy=our-teams-cat&post_type=our-teams4.2941.29
Help and shortcode Generator /wp-admin/edit.php?post_type=our-teams&page=mtsw-designs4.2527.67

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 1 new option
New WordPress options
widget_mtsw_teamshowcase_slider

Browser metrics Passed 4 tests

A check of browser resources used by Modern Team Showcase with Widget
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,857 ▲11516.27 ▲0.527.63 ▲1.512.65 ▲0.43
Dashboard /wp-admin2,952 ▲956.04 ▼0.09160.66 ▲25.14167.44 ▼28.38
Posts /wp-admin/edit.php2,740 ▲463.23 ▼0.0077.58 ▲13.97199.41 ▲53.79
Add New Post /wp-admin/post-new.php1,744 ▲8321.90 ▲5.93458.54 ▲4.39163.58 ▼29.69
Media Library /wp-admin/upload.php1,744 ▲495.54 ▲0.05176.00 ▲29.49195.48 ▼34.48
Add New Member /wp-admin/post-new.php?post_type=our-teams3,21110.15197.19284.14
All Members /wp-admin/edit.php?post_type=our-teams1,3923.1764.45118.16
Team Groups /wp-admin/edit-tags.php?taxonomy=our-teams-cat&post_type=our-teams1,6642.7662.18118.55
Help and shortcode Generator /wp-admin/edit.php?post_type=our-teams&page=mtsw-designs1,3142.4256.05132.75

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
  • Zombie WordPress options detected upon uninstall: 1 option
    • widget_mtsw_teamshowcase_slider

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions 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 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
  • Tags: Please delete some tags, you are using 22 tag instead of maximum 10
Please take inspiration from this readme.txt

modern-team-showcase-with-widget/modern-team-showcase-with-widget.php Passed 13 tests

The primary PHP file in "Modern Team Showcase with Widget" version 1.0 is used by WordPress to initiate all plugin functionality
111 characters long description:
Simple to use Modern Team Showcase with Widget plugin works with Slider, Grid also with widget using shortcode.

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 plugin2,996 lines of code in 23 files:
LanguageFilesBlank linesComment linesLines of code
PHP12142471,585
SVG200725
CSS5019555
JavaScript404131

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity18.50
▷ Minimum class complexity7.00
▷ Maximum class complexity30.00
Average method complexity5.38
▷ Minimum method complexity1.00
▷ Maximum method complexity26.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions34
▷ Named functions34100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected