58% form-vibes

Code Review | Form Vibes - Database Manager for Forms

WordPress plugin Form Vibes - Database Manager for Forms scored58%from 54 tests.

About plugin

  • Plugin page: form-vibes
  • Plugin version: 1.4.9
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: May 17, 2019
  • Latest release: Jul 22, 2023
  • Number of updates: 107
  • Update frequency: every 14.3 days
  • Top authors: wpvibes (100%)

Code review

54 tests

User reviews

126 reviews

Install metrics

20,000+ active /283,939 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
This plugin's installer ran successfully

Server metrics [RAM: ▲1.31MB] [CPU: ▲0.43ms] Passed 4 tests

This is a short check of server-side resources used by Form Vibes - Database Manager for Forms
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.78 ▲1.3152.34 ▲14.02
Dashboard /wp-admin4.63 ▲1.2956.14 ▼4.07
Posts /wp-admin/edit.php4.73 ▲1.3760.85 ▲10.98
Add New Post /wp-admin/post-new.php7.22 ▲1.3393.61 ▼19.22
Media Library /wp-admin/upload.php4.55 ▲1.3147.14 ▲14.55
Analytics /wp-admin/admin.php?page=fv-analytics4.5241.12
Event Logs /wp-admin/admin.php?page=fv-logs4.5241.82
Submissions /wp-admin/admin.php?page=fv-leads4.5239.38
Settings /wp-admin/admin.php?page=fv-db-settings4.5242.39

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 1,355 new files
Database: 3 new tables, 9 new options
New tables
wp_fv_logs
wp_fv_entry_meta
wp_fv_enteries
New WordPress options
widget_recent-comments
fv_dashboard_widget_settings
fv_pro_purchase
db_upgraded
fv_db_version
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Form Vibes - Database Manager for Forms
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,016 ▲25526.73 ▲12.166.91 ▲5.1654.87 ▲14.82
Dashboard /wp-admin2,426 ▲25216.10 ▲10.57420.20 ▲332.4454.23 ▲12.37
Posts /wp-admin/edit.php2,141 ▲412.00 ▼0.0140.47 ▲1.6236.05 ▼5.00
Add New Post /wp-admin/post-new.php1,558 ▲2323.28 ▲5.06578.53 ▼46.6937.36 ▼31.18
Media Library /wp-admin/upload.php1,510 ▲1074.25 ▲0.0293.67 ▼2.5040.79 ▼1.96
Analytics /wp-admin/admin.php?page=fv-analytics98112.08249.1438.11
Event Logs /wp-admin/admin.php?page=fv-logs9319.53102.3331.20
Submissions /wp-admin/admin.php?page=fv-leads99714.54301.8838.28
Settings /wp-admin/admin.php?page=fv-db-settings1,0508.55103.5328.20

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie tables were found after uninstall: 3 tables
    • wp_fv_logs
    • wp_fv_enteries
    • wp_fv_entry_meta
  • Zombie WordPress options were found after uninstall: 9 options
    • db_upgraded
    • fv_dashboard_widget_settings
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • fv_pro_purchase
    • fv_db_version
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/form-vibes/vendor/symfony/translation/Resources/bin/translation-status.php
  • 729× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Symfony\\Polyfill\\Php80\\PhpToken' not found in wp-content/plugins/form-vibes/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/form-vibes/vendor/google/apiclient-services/src/Sheets/EmbeddedObjectBorder.php:20
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Http\\Message\\UriInterface' not found in wp-content/plugins/form-vibes/vendor/guzzlehttp/psr7/src/Uri.php:17
    • > PHP Fatal error
      Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/form-vibes/vendor/monolog/monolog/src/Monolog/Processor/WebProcessor.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'GuzzleHttp\\Psr7\\Request' not found in wp-content/plugins/form-vibes/vendor/guzzlehttp/psr7/src/ServerRequest.php:27
    • > PHP Fatal error
      Uncaught Error: Class 'phpseclib3\\Crypt\\EC' not found in wp-content/plugins/form-vibes/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Parameters.php:25
    • > PHP Warning
      Class 'Google\\Utils\\UriTemplate' not found in wp-content/plugins/form-vibes/vendor/google/apiclient/src/aliases.php on line 33
    • > PHP Fatal error
      Uncaught Error: Class 'phpseclib3\\Math\\BigInteger\\Engines\\PHP\\Base' not found in wp-content/plugins/form-vibes/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/Classic.php:27
    • > PHP Fatal error
      Uncaught Error: Class 'Google\\Collection' not found in wp-content/plugins/form-vibes/vendor/google/apiclient-services/src/Sheets/DataSource.php:20
    • > PHP Fatal error
      Uncaught Error: Interface 'GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/form-vibes/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: elementor form db, contact form 7, elementor, cf7, contact form 7 db...

form-vibes/form-vibes.php 92% from 13 tests

Analyzing the main PHP file in "Form Vibes - Database Manager for Forms" version 1.4.9
The following require your attention:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis 3% from 3 tests

File types 0% from 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Please fix the following items
  • Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
    • .bat - Batch File in Windows
      • wp-content/plugins/form-vibes/vendor/nesbot/carbon/bin/upgrade-carbon.bat
102,238 lines of code in 1,253 files:
LanguageFilesBlank linesComment linesLines of code
PHP1,16316,57764,88790,607
Markdown361,86705,466
JSON27003,092
XSD392482,803
CSS6240103
YAML332102
JavaScript64025
XML10019
make1409
SVG5005
DOS Batch1004
Bourne Shell1203

PHP code 50% from 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
  • Method cyclomatic complexity has to be reduced to less than 100 (currently 160)
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity10.38
▷ Minimum class complexity1.00
▷ Maximum class complexity662.00
Average method complexity2.45
▷ Minimum method complexity1.00
▷ Maximum method complexity160.00
Code structure
Namespaces109
Interfaces70
Traits15
Classes997
▷ Abstract classes21921.97%
▷ Concrete classes77878.03%
▷ Final classes567.20%
Methods6,886
▷ Static methods93813.62%
▷ Public methods5,82984.65%
▷ Protected methods4706.83%
▷ Private methods5878.52%
Functions300
▷ Named functions12842.67%
▷ Anonymous functions17257.33%
Constants591
▷ Global constants213.55%
▷ Class constants57096.45%
▷ Public constants53293.33%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.14MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/error.png111.12KB55.86KB▼ 49.73%
assets/images/avatar.png18.28KB9.16KB▼ 49.86%
assets/dist/2e4ef16d1cbc3b27f9d785f602c6a2fd.png18.28KB9.16KB▼ 49.86%