90% responsive-team-showcase

Code Review | Responsive Team Showcase

WordPress plugin Responsive Team Showcase scored 90% from 54 tests.

About plugin

  • Plugin page: responsive-team-s...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.7.2
  • WordPress version: 6.3.1
  • First release: Jul 3, 2020
  • Latest release: Jun 6, 2021
  • Number of updates: 19
  • Update frequency: every 17.8 days
  • Top authors: vaghasia3 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 483 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 successfully, without throwing any errors or notices

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

Analyzing server-side resources used by Responsive Team Showcase
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0641.07 ▲1.13
Dashboard /wp-admin3.35 ▲0.0549.67 ▲0.66
Posts /wp-admin/edit.php3.40 ▲0.0543.85 ▼4.03
Add New Post /wp-admin/post-new.php5.95 ▲0.0786.33 ▼0.89
Media Library /wp-admin/upload.php3.27 ▲0.0535.68 ▲1.78
Shortcode Generator /wp-admin/edit.php?post_type=our-team&page=rts-designs3.2430.35
Team Groups /wp-admin/edit-tags.php?taxonomy=our-team-cat&post_type=our-team3.2733.64
Add New Member /wp-admin/post-new.php?post_type=our-team3.4049.35
All Members /wp-admin/edit.php?post_type=our-team3.3233.63

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
widget_rts_teamshowcase_slider
theysaidso_admin_options
db_upgraded
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Responsive Team Showcase
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,850 ▲11513.28 ▼1.071.73 ▼0.1843.60 ▼7.16
Dashboard /wp-admin2,242 ▲545.88 ▲1.01100.28 ▼14.7638.93 ▼5.91
Posts /wp-admin/edit.php2,128 ▲392.02 ▲0.0535.33 ▼2.2832.08 ▼1.96
Add New Post /wp-admin/post-new.php1,550 ▲3023.46 ▲0.09672.49 ▼7.3559.49 ▲7.13
Media Library /wp-admin/upload.php1,427 ▲364.20 ▲0.0393.92 ▼3.7141.19 ▼2.58
Shortcode Generator /wp-admin/edit.php?post_type=our-team&page=rts-designs9892.0624.4326.14
Team Groups /wp-admin/edit-tags.php?taxonomy=our-team-cat&post_type=our-team1,2842.1726.2625.75
Add New Member /wp-admin/post-new.php?post_type=our-team2,4587.69171.7172.20
All Members /wp-admin/edit.php?post_type=our-team1,1001.9831.7530.68

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_rts_teamshowcase_slider
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test

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 97% 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
Please fix the following attributes:
  • Tags: Please delete some tags, you are using 22 tag instead of maximum 10
You can take inspiration from this readme.txt

responsive-team-showcase/responsive-team-showcase.php Passed 13 tests

The main file in "Responsive Team Showcase" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
115 characters long description:
Simple to use responsive 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 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected2,992 lines of code in 23 files:
LanguageFilesBlank linesComment linesLines of code
PHP12142501,574
SVG200725
CSS5319562
JavaScript404131

PHP code Passed 2 tests

This is a very shot review of 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

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin