68% team-showcase-supreme

Code Review | Team Member – Multi Language Supported Team Plugin

WordPress plugin Team Member – Multi Language Supported Team Plugin scored68%from 54 tests.

About plugin

  • Plugin page: team-showcase-sup...
  • Plugin version: 5.3
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6.14-6.3
  • WordPress version: 6.3.1
  • First release: Mar 31, 2018
  • Latest release: Oct 17, 2023
  • Number of updates: 505
  • Update frequency: every 4.1 days
  • Top authors: wpmart (100%)

Code review

54 tests

User reviews

35 reviews

Install metrics

9,000+ active /154,659 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲1.35MB] [CPU: ▲8.39ms] Passed 4 tests

Server-side resources used by Team Member – Multi Language Supported Team Plugin
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /4.98 ▲1.5156.64 ▲15.37
Dashboard /wp-admin4.65 ▲1.3459.17 ▲7.31
Posts /wp-admin/edit.php4.76 ▲1.4064.97 ▲12.04
Add New Post /wp-admin/post-new.php7.23 ▲1.34104.97 ▼1.16
Media Library /wp-admin/upload.php4.57 ▲1.3452.58 ▲17.55
Import/Export Plugin /wp-admin/admin.php?page=team-showcase-supreme-import-export4.7451.16
WpMart Plugins /wp-admin/admin.php?page=wpm-6310-wpmart-plugins4.7449.06
Exclusive Templates /wp-admin/admin.php?page=wpm-template-31-404.7855.43
Manage Category /wp-admin/admin.php?page=team-showcase-supreme-category4.7450.79
Template 11-20 /wp-admin/admin.php?page=wpm-template-11-204.7949.95
Help /wp-admin/admin.php?page=team-showcase-supreme-settings-help4.7448.05
Template 21-30 /wp-admin/admin.php?page=wpm-template-21-304.7250.84
License /wp-admin/admin.php?page=team-showcase-supreme-license4.5549.69
Manage Social Icons /wp-admin/admin.php?page=team-showcase-supreme-social-icon4.7451.16
Manage Members /wp-admin/admin.php?page=team-showcase-supreme-team-member5.2474.86

Server storage [IO: ▲4.31MB] [DB: ▲0.01MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 160 new files
Database: 4 new tables, 9 new options
New tables
wp_wpm_6310_category
wp_wpm_6310_style
wp_wpm_6310_icons
wp_wpm_6310_member
New WordPress options
wpm_6310_selected_server
widget_recent-comments
wpm_6310_version_info
widget_recent-posts
wpm_6310_install_default
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Team Member – Multi Language Supported Team Plugin
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,890 ▲12914.25 ▼0.102.71 ▲0.7243.27 ▼3.20
Dashboard /wp-admin2,266 ▲865.65 ▲0.1086.80 ▲0.3341.56 ▼0.23
Posts /wp-admin/edit.php2,174 ▲712.03 ▲0.0539.60 ▼3.6836.41 ▼0.79
Add New Post /wp-admin/post-new.php1,581 ▲4423.12 ▲4.97671.93 ▲47.9854.00 ▼10.33
Media Library /wp-admin/upload.php1,474 ▲774.20 ▼0.01102.66 ▲1.3547.53 ▲3.14
Import/Export Plugin /wp-admin/admin.php?page=team-showcase-supreme-import-export1,0382.5644.08100.42
WpMart Plugins /wp-admin/admin.php?page=wpm-6310-wpmart-plugins1,0892.7846.3347.81
Exclusive Templates /wp-admin/admin.php?page=wpm-template-31-404,0021.9639.62513.75
Manage Category /wp-admin/admin.php?page=team-showcase-supreme-category1,3612.6136.01255.33
Template 11-20 /wp-admin/admin.php?page=wpm-template-11-204,1592.8438.07390.44
Help /wp-admin/admin.php?page=team-showcase-supreme-settings-help1,1402.6538.8034.96
Template 21-30 /wp-admin/admin.php?page=wpm-template-21-303,5812.6139.38302.69
License /wp-admin/admin.php?page=team-showcase-supreme-license1,0192.5138.5237.00
Manage Social Icons /wp-admin/admin.php?page=team-showcase-supreme-social-icon2,8723.1049.0749.46
Manage Members /wp-admin/admin.php?page=team-showcase-supreme-team-member7,0867.34123.93108.30

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie tables detected upon uninstall: 4 tables
    • wp_wpm_6310_member
    • wp_wpm_6310_icons
    • wp_wpm_6310_style
    • wp_wpm_6310_category
  • Zombie WordPress options detected upon uninstall: 9 options
    • widget_theysaidso_widget
    • wpm_6310_selected_server
    • widget_recent-comments
    • wpm_6310_version_info
    • wpm_6310_install_default
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded

Smoke tests 50% from 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)
Even though no errors were found, this is by no means an exhaustive test

SRP 0% from 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
Please fix the following items
  • 40× PHP files output text when accessed directly (only 10 are shown):
    • > /wp-content/plugins/team-showcase-supreme/settings/helper/template-18.php
    • > /wp-content/plugins/team-showcase-supreme/settings/helper/template-36.php
    • > /wp-content/plugins/team-showcase-supreme/settings/helper/template-01.php
    • > /wp-content/plugins/team-showcase-supreme/settings/helper/template-05.php
    • > /wp-content/plugins/team-showcase-supreme/settings/helper/template-11.php
    • > /wp-content/plugins/team-showcase-supreme/settings/helper/template-15.php
    • > /wp-content/plugins/team-showcase-supreme/settings/helper/template-02.php
    • > /wp-content/plugins/team-showcase-supreme/settings/helper/template-21.php
    • > /wp-content/plugins/team-showcase-supreme/settings/helper/template-22.php
    • > /wp-content/plugins/team-showcase-supreme/settings/helper/template-27.php
  • 245× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Notice
      Undefined variable: wpdb in wp-content/plugins/team-showcase-supreme/settings/templates/template-22.php on line 68
    • > PHP Fatal error
      Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/team-showcase-supreme/settings/templates/template-24.php:64
    • > PHP Warning
      include(wpm_6310_plugin_urlsettings/helper/team-member-save.php): failed to open stream: No such file or directory in wp-content/plugins/team-showcase-supreme/settings/templates/template-17.php on line 4
    • > PHP Warning
      include(wpm_6310_plugin_urlsettings/helper/team-member-save.php): failed to open stream: No such file or directory in wp-content/plugins/team-showcase-supreme/settings/templates/template-25.php on line 4
    • > PHP Fatal error
      Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/team-showcase-supreme/settings/templates/template-11.php:62
    • > PHP Notice
      Undefined variable: wpdb in wp-content/plugins/team-showcase-supreme/settings/templates/template-01.php on line 66
    • > PHP Warning
      Use of undefined constant wpm_6310_plugin_url - assumed 'wpm_6310_plugin_url' (this will throw an Error in a future version of PHP) in wp-content/plugins/team-showcase-supreme/settings/templates/template-20.php on line 4
    • > PHP Warning
      Use of undefined constant wpm_6310_plugin_url - assumed 'wpm_6310_plugin_url' (this will throw an Error in a future version of PHP) in wp-content/plugins/team-showcase-supreme/settings/templates/template-11.php on line 4
    • > PHP Warning
      Use of undefined constant wpm_6310_plugin_url - assumed 'wpm_6310_plugin_url' (this will throw an Error in a future version of PHP) in wp-content/plugins/team-showcase-supreme/settings/templates/template-07.php on line 8
    • > PHP Notice
      Undefined variable: members in wp-content/plugins/team-showcase-supreme/output/template-01.php on line 44

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention: Please take inspiration from this readme.txt

team-showcase-supreme/index.php 85% from 13 tests

The main PHP file in "Team Member – Multi Language Supported Team Plugin" ver. 5.3 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("team-showcase-supreme.php" instead of "index.php")
  • Description: Keep the plugin description shorter than 140 characters (currently 191 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin65,020 lines of code in 142 files:
LanguageFilesBlank linesComment linesLines of code
PHP1203,08953756,324
CSS12350676,541
JavaScript1098172,155

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code1.03
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%
Functions62
▷ Named functions62100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.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
5 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/next.png0.43KB0.17KB▼ 59.82%
assets/images/prev.png0.43KB0.18KB▼ 58.82%
assets/css/jquery.minicolors.png67.02KB34.31KB▼ 48.80%
assets/css/hover.png1.27KB0.66KB▼ 48.23%
assets/css/fs-sprite.png1.07KB0.18KB▼ 82.82%