84% typebot

Code Review | Typebot | Create advanced chat experiences without coding

WordPress plugin Typebot | Create advanced chat experiences without coding scored84%from 54 tests.

About plugin

  • Plugin page: typebot
  • Plugin version: 3.5.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.0
  • WordPress version: 6.3.1
  • First release: Feb 22, 2021
  • Latest release: Nov 30, 2023
  • Number of updates: 61
  • Update frequency: every 16.6 days
  • Top authors: baptistearnaud (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

2,000+ active /12,052 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

A check of server-side resources used by Typebot | Create advanced chat experiences without coding
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0536.60 ▼7.30
Dashboard /wp-admin3.35 ▲0.0547.31 ▼2.86
Posts /wp-admin/edit.php3.47 ▲0.1149.90 ▼1.70
Add New Post /wp-admin/post-new.php5.93 ▲0.0588.70 ▼4.65
Media Library /wp-admin/upload.php3.28 ▲0.0533.15 ▼0.46

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
can_compress_scripts
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Typebot | Create advanced chat experiences without coding
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,841 ▲9413.81 ▼0.559.17 ▲7.5836.03 ▼8.05
Dashboard /wp-admin2,211 ▲345.60 ▼0.0297.86 ▲11.0742.32 ▲1.42
Posts /wp-admin/edit.php2,116 ▲131.94 ▼0.0135.82 ▼2.8728.95 ▼4.21
Add New Post /wp-admin/post-new.php1,539 ▲1323.66 ▲0.52691.15 ▲41.1953.96 ▼5.05
Media Library /wp-admin/upload.php1,413 ▲104.18 ▼0.0499.59 ▼1.7444.78 ▲1.92

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% 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
Almost there! Just fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/typebot/admin/partials/typebot-admin-display.php:9

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 97% 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
Please fix the following attributes:
  • Tags: You are using too many tags: 26 tag instead of maximum 10
You can take inspiration from this readme.txt

typebot/typebot.php Passed 13 tests

Analyzing the main PHP file in "Typebot | Create advanced chat experiences without coding" version 3.5.0
38 characters long description:
Convert more with conversational forms

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected356 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP115511355
CSS1001

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity3.14
▷ Minimum class complexity1.00
▷ Maximum class complexity12.00
Average method complexity1.56
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods27
▷ Static methods27.41%
▷ Public methods2177.78%
▷ Protected methods00.00%
▷ Private methods622.22%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin