90% sync-wpforms-jetcrm

Code Review | Lead Sync - WPForms to Jetpack CRM

WordPress plugin Lead Sync - WPForms to Jetpack CRM scored90%from 54 tests.

About plugin

  • Plugin page: sync-wpforms-jetcrm
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.1.1
  • WordPress version: 6.3.1
  • First release: Oct 13, 2022
  • Latest release: Mar 10, 2023
  • Number of updates: 4
  • Update frequency: every 37.3 days
  • Top authors: kroozz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /748 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼7.46ms] Passed 4 tests

A check of server-side resources used by Lead Sync - WPForms to Jetpack CRM
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0041.82 ▼1.41
Dashboard /wp-admin3.31 ▲0.0149.40 ▼2.09
Posts /wp-admin/edit.php3.36 ▲0.0050.71 ▼0.28
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.72 ▼26.04
Media Library /wp-admin/upload.php3.23 ▲0.0037.76 ▲0.16

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
lswjc_version
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Lead Sync - WPForms to Jetpack CRM
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲2913.24 ▼1.141.83 ▼0.0645.57 ▲0.79
Dashboard /wp-admin2,221 ▲154.87 ▼1.01113.89 ▲13.6542.68 ▲2.07
Posts /wp-admin/edit.php2,100 ▼32.04 ▲0.0334.88 ▼5.7633.76 ▼3.55
Add New Post /wp-admin/post-new.php1,545 ▲1923.05 ▲5.47663.40 ▼20.7049.06 ▼3.29
Media Library /wp-admin/upload.php1,403 ▼04.24 ▼0.0399.03 ▼5.1642.31 ▼5.28

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • lswjc_version
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: customers, jetpack crm, sync, automating lead generation, wpforms...

sync-wpforms-jetcrm/sync-wpforms-jetcrm.php Passed 13 tests

This is the main PHP file of "Lead Sync - WPForms to Jetpack CRM" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
91 characters long description:
Use WPForms to collect leads info and save time by automating your lead generation process.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin40 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1171640

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.47
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%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

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