84% typeform

Code Review | Typeform | Engage your audience with beautiful forms, surveys, and quizzes

WordPress plugin Typeform | Engage your audience with beautiful forms, surveys, and quizzes scored84%from 54 tests.

About plugin

  • Plugin page: typeform
  • Plugin version: 2.4.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-6.2
  • WordPress version: 6.3.1
  • First release: Dec 2, 2015
  • Latest release: Nov 8, 2023
  • Number of updates: 91
  • Update frequency: every 31.9 days
  • Top authors: typeform (54.95%)jepser (46.15%)

Code review

54 tests

User reviews

15 reviews

Install metrics

10,000+ active /294,322 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.01MB] [CPU: ▼9.82ms] Passed 4 tests

A check of server-side resources used by Typeform | Engage your audience with beautiful forms, surveys, and quizzes
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0043.33 ▲2.10
Dashboard /wp-admin3.31 ▼0.0447.16 ▼13.16
Posts /wp-admin/edit.php3.37 ▲0.0042.24 ▼8.65
Add New Post /wp-admin/post-new.php5.89 ▼0.0080.03 ▼19.56
Media Library /wp-admin/upload.php3.24 ▲0.0036.67 ▲2.56

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Typeform | Engage your audience with beautiful forms, surveys, and quizzes
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,790 ▲2814.35 ▲0.011.78 ▲0.1245.37 ▲5.26
Dashboard /wp-admin2,198 ▲205.62 ▼0.0888.56 ▼18.0141.66 ▼0.52
Posts /wp-admin/edit.php2,100 ▼32.01 ▲0.0734.78 ▼4.8434.69 ▼0.92
Add New Post /wp-admin/post-new.php6,370 ▲4,84428.60 ▲5.32901.66 ▲235.0754.80 ▼0.01
Media Library /wp-admin/upload.php1,400 ▼34.15 ▼0.0397.98 ▲0.3843.39 ▲0.18

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/typeform/index.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Tags: There are too many tags (26 tag instead of maximum 10)
Please take inspiration from this readme.txt

typeform/index.php 92% from 13 tests

The main file in "Typeform | Engage your audience with beautiful forms, surveys, and quizzes" v. 2.4.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("typeform.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
Everything looks great! No dangerous files found in this plugin17 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP251316
JavaScript1001

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.40
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%
Functions1
▷ Named functions1100.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
PNG images were not found in this plugin