73% v-form

Code Review | World first Lifetime free Form Builder for WordPress

WordPress plugin World first Lifetime free Form Builder for WordPress scored73%from 54 tests.

About plugin

  • Plugin page: v-form
  • Plugin version: 2.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.2
  • WordPress version: 6.3.1
  • First release: Jun 12, 2021
  • Latest release: May 18, 2023
  • Number of updates: 15
  • Update frequency: every 47.0 days
  • Top authors: vikasratudi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,303 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.22MB] [CPU: ▼23.59ms] Passed 4 tests

A check of server-side resources used by World first Lifetime free Form Builder for WordPress
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.40 ▼0.0724.72 ▼19.76
Dashboard /wp-admin3.07 ▼0.2328.36 ▼20.23
Posts /wp-admin/edit.php3.21 ▼0.1427.10 ▼24.45
Add New Post /wp-admin/post-new.php5.45 ▼0.4461.06 ▼29.93
Media Library /wp-admin/upload.php3.14 ▼0.0926.96 ▼5.46

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: 3 new tables, 6 new options
New tables
wp_vfsubscr
wp_vform
wp_vform_userinput
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for World first Lifetime free Form Builder for WordPress
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,967 ▲20614.22 ▼0.1710.20 ▲8.6242.98 ▲1.61
Dashboard /wp-admin2,250 ▲705.76 ▲0.12104.08 ▲17.4783.34 ▲40.49
Posts /wp-admin/edit.php2,164 ▲672.77 ▲0.7842.16 ▲5.1327.39 ▼13.66
Add New Post /wp-admin/post-new.php1,745 ▲21923.82 ▲0.00617.80 ▼61.0230.34 ▼28.14
Media Library /wp-admin/upload.php1,461 ▲645.19 ▲1.07118.09 ▲13.9843.60 ▼1.74

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • The plugin did not uninstall successfully, leaving 3 tables in the database
    • wp_vfsubscr
    • wp_vform
    • wp_vform_userinput
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options

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)
Even though everything seems fine, this is not an exhaustive test

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 take a closer look at the following
  • 7× PHP files output text when accessed directly:
    • > /wp-content/plugins/v-form/inc/db.php
    • > /wp-content/plugins/v-form/vform.php
    • > /wp-content/plugins/v-form/inc/vformstructure.php
    • > /wp-content/plugins/v-form/inc/vformadmin.php
    • > /wp-content/plugins/v-form/uninstall.php
    • > /wp-content/plugins/v-form/inc/vformentriesstructure.php
    • > /wp-content/plugins/v-form/inc/vformsettingstructure.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 83% from 29 tests

readme.txt 81% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
  • Screenshots: These screenshots lack descriptions #10, #11 in v-form/assets to your readme.txt
  • Tags: Please delete some tags, you are using 49 tag instead of maximum 10
  • Contributors: The plugin contributors field is missing
The official readme.txt is a good inspiration

v-form/vform.php 85% from 13 tests

Analyzing the main PHP file in "World first Lifetime free Form Builder for WordPress" version 2.0
Please take the time to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("v-form.php" instead of "vform.php")
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin9,080 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
CSS21,585384,712
PHP8635713,108
JavaScript2282521,214
SVG30246

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.24
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%
Functions21
▷ Named functions1990.48%
▷ Anonymous functions29.52%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/broom.png20.40KB9.83KB▼ 51.83%
assets/images/form.png3.68KB2.14KB▼ 41.86%