73% team-showcase-ultimate

Code Review | Team Showcase and Slider - Team Members Builder

WordPress plugin Team Showcase and Slider - Team Members Builder scored73%from 54 tests.

About plugin

  • Plugin page: team-showcase-ult...
  • Plugin version: 1.3
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-5.2.2
  • WordPress version: 6.3.1
  • First release: Nov 3, 2016
  • Latest release: Aug 1, 2019
  • Number of updates: 11
  • Update frequency: every 90.8 days
  • Top authors: biplob018 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /3,467 total downloads

Benchmarks

Plugin footprint 65% 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.32MB] [CPU: ▲3.36ms] Passed 4 tests

Server-side resources used by Team Showcase and Slider - Team Members Builder
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.77 ▲0.3038.57 ▲1.24
Dashboard /wp-admin3.63 ▲0.3253.31 ▲8.62
Posts /wp-admin/edit.php3.74 ▲0.3853.52 ▲1.81
Add New Post /wp-admin/post-new.php6.21 ▲0.3297.64 ▲1.77
Media Library /wp-admin/upload.php3.55 ▲0.3241.65 ▲9.60
Team Category /wp-admin/admin.php?page=oxi-team-show-slider-category3.5333.85
Team Showcase /wp-admin/admin.php?page=oxi-team-show-slider3.5335.77
Import Template /wp-admin/admin.php?page=oxi-team-show-slider-import3.8237.51
Settings /wp-admin/admin.php?page=oxi-team-show-slider-license3.5141.58
Social Icon /wp-admin/admin.php?page=oxi-team-show-slider-social3.5635.23
Create Teams /wp-admin/admin.php?page=oxi-team-show-slider-new3.7135.79
Welcome To Team Showcase and Slider /wp-admin/index.php?page=oxi-team-show-slider-welcome3.5141.38

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 147 new files
Database: 5 new tables, 9 new options
New tables
wp_oxi_div_social_icon
wp_oxi_div_category
wp_oxi_div_import
wp_oxi_div_list
wp_oxi_div_style
New WordPress options
can_compress_scripts
oxi_team_show_slider_activation_date
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded
oxi_team_show_activation_date
oxi_div_database

Browser metrics Passed 4 tests

An overview of browser requirements for Team Showcase and Slider - Team Members Builder
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,846 ▲10013.23 ▼1.171.69 ▲0.0638.96 ▼3.63
Dashboard /wp-admin2,252 ▲615.90 ▲0.02107.16 ▲3.7445.21 ▲2.77
Posts /wp-admin/edit.php2,135 ▲462.05 ▲0.0539.73 ▼0.6834.36 ▼3.29
Add New Post /wp-admin/post-new.php1,579 ▲5918.30 ▼4.75677.28 ▲4.2256.88 ▲10.24
Media Library /wp-admin/upload.php1,437 ▲524.20 ▼0.0496.74 ▼8.3041.98 ▼4.12
Team Category /wp-admin/admin.php?page=oxi-team-show-slider-category1,1362.3031.7364.26
Team Showcase /wp-admin/admin.php?page=oxi-team-show-slider9382.1428.0334.93
Import Template /wp-admin/admin.php?page=oxi-team-show-slider-import3,3031.8938.22259.65
Settings /wp-admin/admin.php?page=oxi-team-show-slider-license9362.1527.0431.23
Social Icon /wp-admin/admin.php?page=oxi-team-show-slider-social2,8061.9541.6758.14
Create Teams /wp-admin/admin.php?page=oxi-team-show-slider-new2,9552.2839.12204.37
Welcome To Team Showcase and Slider /wp-admin/index.php?page=oxi-team-show-slider-welcome8462.0224.6145.04

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin does not fully uninstall, leaving 5 tables in the database
    • wp_oxi_div_import
    • wp_oxi_div_social_icon
    • wp_oxi_div_list
    • wp_oxi_div_category
    • wp_oxi_div_style
  • This plugin does not fully uninstall, leaving 9 options in the database
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • oxi_div_database
    • theysaidso_admin_options
    • widget_recent-posts
    • oxi_team_show_slider_activation_date
    • widget_theysaidso_widget
    • oxi_team_show_activation_date

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=oxi-team-show-slider-social
    • > Notice in wp-content/plugins/team-showcase-ultimate/social.php+133
    Undefined variable: editdata
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=oxi-team-show-slider-social
    • > Notice in wp-content/plugins/team-showcase-ultimate/social.php+133
    Trying to access array offset on value of type null
    • > GET request to /wp-admin/admin.php?page=oxi-team-show-slider-import
    • > Notice in wp-content/plugins/team-showcase-ultimate/public/style_16.php+299
    Undefined offset: 163
    • > GET request to /wp-admin/admin.php?page=oxi-team-show-slider-new
    • > Notice in wp-content/plugins/team-showcase-ultimate/public/style_3.php+90
    Undefined variable: teamanimation

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
Everything seems fine, however this is by no means an exhaustive test

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 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Screenshots: Add a description for screenshot #4 in team-showcase-ultimate/assets to your readme.txt
  • Tags: Too many tags (56 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt might help

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

The main PHP file in "Team Showcase and Slider - Team Members Builder" ver. 1.3 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 195 characters long)
  • Main file name: The principal plugin file should be the same as the plugin slug ("team-showcase-ultimate.php" instead of "index.php")

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 plugin40,817 lines of code in 127 files:
LanguageFilesBlank linesComment linesLines of code
PHP7864315023,205
JavaScript391,1151,5789,782
CSS71,416334,470
SVG30123,360

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity73.00
▷ Minimum class complexity73.00
▷ Maximum class complexity73.00
Average method complexity7.55
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods11
▷ Static methods00.00%
▷ Public methods981.82%
▷ Protected methods00.00%
▷ Private methods218.18%
Functions109
▷ Named functions109100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin