83% team-builder

Code Review | Team Builder - Team Member Showcase With Grid and slider, Compatible With Elementor, Gutenberg

WordPress plugin Team Builder - Team Member Showcase With Grid and slider, Compatible With Elementor, Gutenberg scored83%from 54 tests.

About plugin

  • Plugin page: team-builder
  • Plugin version: 1.7.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Sep 30, 2016
  • Latest release: Nov 10, 2023
  • Number of updates: 68
  • Update frequency: every 38.2 days
  • Top authors: wpshopmart (100%)

Code review

54 tests

User reviews

133 reviews

Install metrics

10,000+ active /274,524 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▲0.12MB] [CPU: ▼8.41ms] 75% from 4 tests

A check of server-side resources used by Team Builder - Team Member Showcase With Grid and slider, Compatible With Elementor, Gutenberg
Please take the time to fix the following items
  • CPU: Total CPU usage should be kept under 500.00ms (currently 535.12ms on /wp-admin/edit.php?post_type=team_builder&page=wpsm_team_b_recom_page)
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1139.53 ▲0.08
Dashboard /wp-admin3.44 ▲0.1044.17 ▼17.78
Posts /wp-admin/edit.php3.56 ▲0.2046.64 ▲6.41
Add New Post /wp-admin/post-new.php6.02 ▲0.1479.90 ▼16.91
Media Library /wp-admin/upload.php3.36 ▲0.1433.74 ▲0.96
Add New Teams /wp-admin/post-new.php?post_type=team_builder3.5548.28
More Free Plugins /wp-admin/edit.php?post_type=team_builder&page=wpsm_team_b_recom_page3.45535.12
All Teams /wp-admin/edit.php?post_type=team_builder3.4134.36
Team Free Vs Pro /wp-admin/edit.php?post_type=team_builder&page=wpsm_team_b_fvp_page3.3730.31

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 101 new files
Database: no new tables, 8 new options
New WordPress options
wpsm_team_p_review
can_compress_scripts
theysaidso_admin_options
db_upgraded
Team_B_default_Settings
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Team Builder - Team Member Showcase With Grid and slider, Compatible With Elementor, Gutenberg
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,937 ▲17513.82 ▼0.539.11 ▲7.4944.31 ▼0.76
Dashboard /wp-admin2,230 ▲495.59 ▼0.1485.72 ▼32.8138.61 ▼9.47
Posts /wp-admin/edit.php2,129 ▲291.99 ▲0.0235.24 ▼4.2433.77 ▲0.68
Add New Post /wp-admin/post-new.php1,552 ▲2623.57 ▲0.35671.76 ▲46.3656.00 ▲1.92
Media Library /wp-admin/upload.php1,435 ▲414.21 ▲0.03100.74 ▼0.1343.79 ▼1.15
Add New Teams /wp-admin/post-new.php?post_type=team_builder4,74111.09444.19252.65
More Free Plugins /wp-admin/edit.php?post_type=team_builder&page=wpsm_team_b_recom_page1,6972.0124.5232.98
All Teams /wp-admin/edit.php?post_type=team_builder1,1121.9432.0730.86
Team Free Vs Pro /wp-admin/edit.php?post_type=team_builder&page=wpsm_team_b_fvp_page1,2381.9923.0740.82

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • This plugin does not fully uninstall, leaving 8 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • Team_B_default_Settings
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • wpsm_team_p_review

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

SRP 50% from 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
Please fix the following
  • 8× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/team-builder/ink/admin/more-free-plugins.php:138
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/team-builder/ink/admin/free.php on line 53
    • > PHP Warning
      include(ABSPATHwp-admin/includes/plugin-install.php): failed to open stream: No such file or directory in wp-content/plugins/team-builder/ink/admin/free.php on line 53
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/team-builder/ink/admin/fvp.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/team-builder/ink/admin/help.php:55
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/team-builder/ink/admin/free.php:64
    • > PHP Warning
      include(): Failed opening 'ABSPATHwp-admin/includes/plugin-install.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/team-builder/ink/admin/free.php on line 53
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/team-builder/ink/admin/more-pro.php:116

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
  • Tags: You are using too many tags: 50 tag instead of maximum 10
The official readme.txt might help

team-builder/team-builder.php Passed 13 tests

"Team Builder - Team Member Showcase With Grid and slider, Compatible With Elementor, Gutenberg" version 1.7.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
120 characters long description:
Team Builder is most flexible WordPress plugin available to create and manage your Team page with drag and drop feature.

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
Everything looks great! No dangerous files found in this plugin16,690 lines of code in 43 files:
LanguageFilesBlank linesComment linesLines of code
CSS141,1351228,096
JavaScript71,1375725,229
PHP223231323,365

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity1.44
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods16
▷ Static methods16.25%
▷ Public methods1593.75%
▷ Protected methods00.00%
▷ Private methods16.25%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 0% from 2 tests

Image compression 0% from 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
42 PNG files occupy 1.17MB with 0.56MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
(invalid) assets/images/c2.png3.64KB0.00KB▼ 100.00%
assets/css/images/button_check.png4.66KB1.57KB▼ 66.23%
assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png0.21KB0.08KB▼ 58.96%
assets/css/images/ui-icons_2e83ff_256x240.png4.44KB4.17KB▼ 6.02%
assets/css/images/ui-icons_217bc0_256x240.png4.44KB4.17KB▼ 6.02%