84% integrate-convertkit-wpforms

Code Review | Integrate ConvertKit and WPForms

WordPress plugin Integrate ConvertKit and WPForms scored84%from 54 tests.

About plugin

  • Plugin page: integrate-convert...
  • Plugin version: 1.6.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Apr 13, 2017
  • Latest release: Nov 9, 2023
  • Number of updates: 31
  • Update frequency: every 77.5 days
  • Top authors: convertkit (61.29%)billerickson (41.94%)

Code review

54 tests

User reviews

3 reviews

Install metrics

1,000+ active /23,951 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.18MB] [CPU: ▼6.96ms] Passed 4 tests

Analyzing server-side resources used by Integrate ConvertKit and WPForms
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.1941.30 ▲5.28
Dashboard /wp-admin3.50 ▲0.1545.52 ▼17.21
Posts /wp-admin/edit.php3.61 ▲0.2549.53 ▲3.23
Add New Post /wp-admin/post-new.php6.08 ▲0.1983.54 ▼14.27
Media Library /wp-admin/upload.php3.42 ▲0.1935.46 ▲0.42

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Integrate ConvertKit and WPForms
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,790 ▲314.27 ▼0.011.82 ▼0.6944.95 ▲5.45
Dashboard /wp-admin2,198 ▲185.62 ▲0.0497.12 ▲6.7042.57 ▲4.45
Posts /wp-admin/edit.php2,097 ▼61.97 ▼0.1740.42 ▲5.1235.17 ▲1.22
Add New Post /wp-admin/post-new.php1,526 ▼023.32 ▲0.12657.47 ▲71.4452.12 ▲3.59
Media Library /wp-admin/upload.php1,400 ▼04.19 ▼0.0597.99 ▼6.2340.60 ▼3.26

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

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 fix the following
  • 7× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/integrate-convertkit-wpforms/views/backend/settings-form-marketing-forms-dropdown.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function sanitize_html_class() in wp-content/plugins/integrate-convertkit-wpforms/views/backend/settings-form-marketing.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/integrate-convertkit-wpforms/views/backend/settings-integration.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'ConvertKit_API' not found in wp-content/plugins/integrate-convertkit-wpforms/includes/class-integrate-convertkit-wpforms-api.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/integrate-convertkit-wpforms/includes/class-integrate-convertkit-wpforms-creator-network-recommendations.php:70
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/integrate-convertkit-wpforms/vendor/convertkit/convertkit-wordpress-libraries/src/views/review-request.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'WPForms_Provider' not found in wp-content/plugins/integrate-convertkit-wpforms/includes/class-integrate-convertkit-wpforms.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: form, email, marketing, wpforms, convertkit

integrate-convertkit-wpforms/integrate-convertkit-wpforms.php Passed 13 tests

Analyzing the main PHP file in "Integrate ConvertKit and WPForms" version 1.6.1
44 characters long description:
Create ConvertKit signup forms using WPForms

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,482 lines of code in 18 files:
LanguageFilesBlank linesComment linesLines of code
PHP138601,9122,193
Markdown41370288
SVG1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity36.50
▷ Minimum class complexity4.00
▷ Maximum class complexity126.00
Average method complexity3.47
▷ Minimum method complexity1.00
▷ Maximum method complexity34.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods116
▷ Static methods00.00%
▷ Public methods8775.00%
▷ Protected methods00.00%
▷ Private methods2925.00%
Functions3
▷ Named functions133.33%
▷ Anonymous functions266.67%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin