78% team-builder-for-wpbakery-page-builder

Code Review | Team Builder For WPBakery Page Builder(Formerly Visual Composer)

WordPress plugin Team Builder For WPBakery Page Builder(Formerly Visual Composer) scored 78% from 54 tests.

About plugin

  • Plugin page: team-builder-for-...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.0
  • WordPress version: 6.3.1
  • First release: Nov 17, 2018
  • Latest release: Jun 4, 2022
  • Number of updates: 8
  • Update frequency: every 161.9 days
  • Top authors: Labibahmed42 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active / 2,595 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼0.62ms] Passed 4 tests

A check of server-side resources used by Team Builder For WPBakery Page Builder(Formerly Visual Composer)
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.80 ▼0.48
Dashboard /wp-admin3.32 ▲0.0248.05 ▲0.04
Posts /wp-admin/edit.php3.37 ▲0.0147.18 ▼1.06
Add New Post /wp-admin/post-new.php5.90 ▲0.0184.59 ▲0.96
Media Library /wp-admin/upload.php3.24 ▲0.0134.17 ▼1.00

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Team Builder For WPBakery Page Builder(Formerly Visual Composer)
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲5514.74 ▲0.361.76 ▼0.2244.31 ▲2.63
Dashboard /wp-admin2,218 ▲325.85 ▼0.04111.31 ▼5.2942.29 ▼0.30
Posts /wp-admin/edit.php2,100 ▲112.00 ▼0.0234.65 ▼1.0232.57 ▼4.67
Add New Post /wp-admin/post-new.php1,526 ▲717.79 ▼5.30637.76 ▼35.1349.69 ▲5.17
Media Library /wp-admin/upload.php1,400 ▲94.19 ▲0.04105.48 ▲7.8246.37 ▲1.15

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 0% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
  • 10× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style10.php
    • > /wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style6.php
    • > /wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style7.php
    • > /wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style2.php
    • > /wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style8.php
    • > /wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style4.php
    • > /wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style5.php
    • > /wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style1.php
    • > /wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style3.php
    • > /wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style9.php
  • 91× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Notice
      Undefined variable: member_social_links in wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style4.php on line 2
    • > PHP Notice
      Undefined variable: member_profile_link in wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style10.php on line 9
    • > PHP Notice
      Undefined variable: team_custom_class in wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style1.php on line 2
    • > PHP Notice
      Undefined variable: member_social_links in wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style5.php on line 2
    • > PHP Notice
      Undefined variable: team_member_border_style in wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style8.php on line 4
    • > PHP Notice
      Undefined variable: team_member_designation in wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style4.php on line 13
    • > PHP Notice
      Undefined variable: team_member_designation in wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style3.php on line 22
    • > PHP Notice
      Undefined variable: team_member_designation in wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style7.php on line 25
    • > PHP Notice
      Undefined variable: team_member_border_style in wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style1.php on line 3
    • > PHP Notice
      Undefined variable: team_custom_class in wp-content/plugins/team-builder-for-wpbakery-page-builder/includes/style2.php on line 4

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

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: display team wordpress plugin, visual composer addon, team showcase for visual composer, team display, team for wpbakery page builder...

team-builder-for-wpbakery-page-builder/index.php 85% from 13 tests

The primary PHP file in "Team Builder For WPBakery Page Builder(Formerly Visual Composer)" version 1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("team-builder-for-wpbakery-page-builder.php" instead of "index.php")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

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
Good job! No executable or dangerous file extensions detected6,320 lines of code in 20 files:
LanguageFilesBlank linesComment linesLines of code
CSS31431445,263
SVG100565
PHP144942476
JavaScript201016

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.40
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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 were not PNG files found in your plugin