79% cf7-infusionsoft

Code Review | Integration for Keap/infusionsoft and Contact Form 7, WPForms, Elementor, Formidable, Ninja Forms

WordPress plugin Integration for Keap/infusionsoft and Contact Form 7, WPForms, Elementor, Formidable, Ninja Forms scored79%from 54 tests.

About plugin

  • Plugin page: cf7-infusionsoft
  • Plugin version: 1.1.8
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-6.3
  • WordPress version: 6.3.1
  • First release: Oct 26, 2018
  • Latest release: Oct 7, 2023
  • Number of updates: 34
  • Update frequency: every 53.2 days
  • Top authors: CRMPerks (79.41%)asif876 (23.53%)

Code review

54 tests

User reviews

5 reviews

Install metrics

600+ active /9,355 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.16MB] [CPU: ▼9.84ms] Passed 4 tests

This is a short check of server-side resources used by Integration for Keap/infusionsoft and Contact Form 7, WPForms, Elementor, Formidable, Ninja Forms
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0638.30 ▼2.29
Dashboard /wp-admin3.52 ▲0.1747.62 ▼12.78
Posts /wp-admin/edit.php3.57 ▲0.2146.66 ▲4.55
Add New Post /wp-admin/post-new.php6.10 ▲0.2180.67 ▼24.85
Media Library /wp-admin/upload.php3.43 ▲0.2036.40 ▲0.57

Server storage [IO: ▲1.34MB] [DB: ▲0.08MB] Passed 3 tests

Filesystem and database footprint
No storage issues were detected
Filesystem: 70 new files
Database: 3 new tables, 7 new options
New tables
wp_vxcf_infusionsoft
wp_vxcf_infusionsoft_log
wp_vxcf_infusionsoft_accounts
New WordPress options
widget_theysaidso_widget
can_compress_scripts
vxcf_infusionsoft_version
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Integration for Keap/infusionsoft and Contact Form 7, WPForms, Elementor, Formidable, Ninja Forms
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,805 ▲4414.28 ▼0.341.75 ▼0.0144.49 ▲1.65
Dashboard /wp-admin2,214 ▲405.56 ▼0.0184.73 ▼3.3337.54 ▼5.64
Posts /wp-admin/edit.php2,119 ▲161.99 ▲0.0534.63 ▼6.9132.03 ▼7.22
Add New Post /wp-admin/post-new.php1,541 ▲623.30 ▲5.17667.81 ▲57.8257.94 ▼18.98
Media Library /wp-admin/upload.php1,416 ▲164.18 ▼0.0595.94 ▲0.2543.39 ▲0.39

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The plugin did not uninstall successfully, leaving 3 tables in the database
    • wp_vxcf_infusionsoft_accounts
    • wp_vxcf_infusionsoft_log
    • wp_vxcf_infusionsoft
  • Zombie WordPress options detected upon uninstall: 7 options
    • db_upgraded
    • widget_theysaidso_widget
    • vxcf_infusionsoft_version
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 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
5 plugin tags: elementor forms infusionsoft, contact form 7 infusionsoft, infusionsoft wpforms integration, ninja forms infusionsoft, keap

cf7-infusionsoft/cf7-infusionsoft.php 85% from 13 tests

The principal PHP file in "Integration for Keap/infusionsoft and Contact Form 7, WPForms, Elementor, Formidable, Ninja Forms" v. 1.1.8 is loaded by WordPress automatically on each request
The following require your attention:
  • Description: Keep the plugin description shorter than 140 characters (currently 239 characters long)
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

Code Analysis 97% from 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
There were no executable files found in this plugin9,513 lines of code in 29 files:
LanguageFilesBlank linesComment linesLines of code
PHP208789178,596
SVG100640
CSS52310271
JavaScript31206

PHP code 50% from 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
  • Please reduce cyclomatic complexity of methods to less than 100 (currently 136)
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity181.00
▷ Minimum class complexity6.00
▷ Maximum class complexity461.00
Average method complexity7.21
▷ Minimum method complexity1.00
▷ Maximum method complexity136.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods203
▷ Static methods62.96%
▷ Public methods19797.04%
▷ Protected methods00.00%
▷ Private methods62.96%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
34 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/updated.png1.53KB0.50KB▼ 67.37%
css/images/ui-bg_glass_75_e6e6e6_1x400.png0.26KB0.15KB▼ 42.37%
css/images/ui-bg_diagonals-small_75_ccd232_40x40.png0.33KB0.10KB▼ 69.97%
images/active1.png0.21KB0.18KB▼ 16.89%
images/active0.png0.22KB0.18KB▼ 16.67%