73% bit-integrations

Code Review | Zapier for WordPress Automation & Integrate: Webhook Automator, Integrator and connector for 200+ applications no-code automate - Bit Integrations

WordPress plugin Zapier for WordPress Automation & Integrate: Webhook Automator, Integrator and connector for 200+ applications no-code automate - Bit Integrations scored73%from 54 tests.

About plugin

  • Plugin page: bit-integrations
  • Plugin version: 1.5.4
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-6.4
  • WordPress version: 6.3.1
  • First release: Jan 13, 2022
  • Latest release: Nov 20, 2023
  • Number of updates: 74
  • Update frequency: every 9.5 days
  • Top authors: bitpressadmin (100%)

Code review

54 tests

User reviews

52 reviews

Install metrics

3,000+ active /30,677 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.34MB] [CPU: ▲2.99ms] Passed 4 tests

Analyzing server-side resources used by Zapier for WordPress Automation & Integrate: Webhook Automator, Integrator and connector for 200+ applications no-code automate - Bit Integrations
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.81 ▲0.3542.83 ▼0.41
Dashboard /wp-admin3.67 ▲0.3654.85 ▲6.10
Posts /wp-admin/edit.php3.72 ▲0.3652.69 ▲1.33
Add New Post /wp-admin/post-new.php6.24 ▲0.3698.18 ▲4.94
Media Library /wp-admin/upload.php3.53 ▲0.3043.23 ▲9.46

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 1,544 new files
Database: 2 new tables, 9 new options
New tables
wp_btcbi_flow
wp_btcbi_log
New WordPress options
theysaidso_admin_options
widget_recent-comments
btcbi_version
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
db_upgraded
btcbi_db_version
btcbi_installed

Browser metrics Passed 4 tests

A check of browser resources used by Zapier for WordPress Automation & Integrate: Webhook Automator, Integrator and connector for 200+ applications no-code automate - Bit Integrations
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,823 ▲6114.33 ▼0.021.66 ▼0.1639.15 ▼4.80
Dashboard /wp-admin2,232 ▲585.67 ▲0.0590.68 ▲2.6238.18 ▼3.55
Posts /wp-admin/edit.php2,133 ▲301.98 ▲0.0140.91 ▲5.0634.73 ▲2.56
Add New Post /wp-admin/post-new.php1,540 ▲1423.29 ▲0.17672.30 ▼3.1052.08 ▲3.41
Media Library /wp-admin/upload.php1,437 ▲434.28 ▲0.0898.81 ▲0.9741.75 ▲1.61

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • Zombie tables detected upon uninstall: 2 tables
    • wp_btcbi_log
    • wp_btcbi_flow
  • Zombie WordPress options detected upon uninstall: 9 options
    • widget_recent-posts
    • btcbi_db_version
    • can_compress_scripts
    • theysaidso_admin_options
    • btcbi_version
    • btcbi_installed
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 30× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'BitCode\\FI\\Actions\\WebHooks\\WebHooksController' not found in wp-content/plugins/bit-integrations/includes/Actions/AdvancedFormIntegration/AdvancedFormIntegrationController.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'BitCode\\FI\\Actions\\WebHooks\\WebHooksController' not found in wp-content/plugins/bit-integrations/includes/Actions/ThriveAutomator/ThriveAutomatorController.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'BitCode\\FI\\Triggers\\Webhook\\WebhookController' not found in wp-content/plugins/bit-integrations/includes/Triggers/KaliForms/KaliFormsController.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'BitCode\\FI\\Actions\\WebHooks\\WebHooksController' not found in wp-content/plugins/bit-integrations/includes/Actions/SyncSpider/SyncSpiderController.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'BitCode\\FI\\Actions\\WebHooks\\WebHooksController' not found in wp-content/plugins/bit-integrations/includes/Actions/AntApps/AntAppsController.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'BitCode\\FI\\Actions\\WebHooks\\WebHooksController' not found in wp-content/plugins/bit-integrations/includes/Actions/Integromat/IntegromatController.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/bit-integrations/languages/generatedString.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/bit-integrations/includes/Core/Util/API.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'BitCode\\FI\\Actions\\WebHooks\\WebHooksController' not found in wp-content/plugins/bit-integrations/includes/Actions/FlowMattic/FlowMatticController.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'BitCode\\FI\\Triggers\\Webhook\\WebhookController' not found in wp-content/plugins/bit-integrations/includes/Triggers/FluentSupport/FluentSupportController.php:7

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
You can take inspiration from this readme.txt

bit-integrations/bitwpfi.php 85% from 13 tests

The principal PHP file in "Zapier for WordPress Automation & Integrate: Webhook Automator, Integrator and connector for 200+ applications no-code automate - Bit Integrations" v. 1.5.4 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Description: Please keep the plugin description shorter than 140 characters (currently 275 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("bit-integrations.php" instead of "bitwpfi.php")

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected73,594 lines of code in 1,467 files:
LanguageFilesBlank linesComment linesLines of code
PHP63910,8704,30061,512
JSON30010,441
JavaScript81722771,452
SVG500186
CSS3003

PHP code 50% from 2 tests

This is a very shot review of cyclomatic complexity and code structure
It is recommended to fix the following
  • Method cyclomatic complexity should be reduced to less than 100 (currently 117)
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity24.53
▷ Minimum class complexity1.00
▷ Maximum class complexity244.00
Average method complexity4.84
▷ Minimum method complexity1.00
▷ Maximum method complexity117.00
Code structure
Namespaces219
Interfaces0
Traits0
Classes389
▷ Abstract classes00.00%
▷ Concrete classes389100.00%
▷ Final classes11730.08%
Methods2,382
▷ Static methods1,06944.88%
▷ Public methods2,16290.76%
▷ Protected methods783.27%
▷ Private methods1425.96%
Functions8
▷ Named functions337.50%
▷ Anonymous functions562.50%
Constants20
▷ Global constants945.00%
▷ Class constants1155.00%
▷ Public constants981.82%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin