79% integration-for-gravity-forms-and-pipedrive

Code Review | Integration for Gravity Forms and Pipedrive

WordPress plugin Integration for Gravity Forms and Pipedrive scored79%from 54 tests.

About plugin

  • Plugin page: integration-for-g...
  • Plugin version: 1.1.3
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-6.3
  • WordPress version: 6.3.1
  • First release: Jun 29, 2020
  • Latest release: Nov 3, 2023
  • Number of updates: 24
  • Update frequency: every 51.7 days
  • Top authors: CRMPerks (100%)

Code review

54 tests

User reviews

9 reviews

Install metrics

200+ active /4,092 total downloads

Benchmarks

Plugin footprint 65% 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.05MB] [CPU: ▼7.09ms] Passed 4 tests

This is a short check of server-side resources used by Integration for Gravity Forms and Pipedrive
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0636.70 ▼0.00
Dashboard /wp-admin3.36 ▲0.0246.08 ▼14.95
Posts /wp-admin/edit.php3.48 ▲0.1244.40 ▼3.43
Add New Post /wp-admin/post-new.php5.95 ▲0.0692.82 ▼9.99
Media Library /wp-admin/upload.php3.28 ▲0.0534.28 ▲0.90

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 33 new files
Database: 3 new tables, 7 new options
New tables
wp_vxg_pipedrive_accounts
wp_vxg_pipedrive
wp_vxg_pipedrive_log
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
db_upgraded
widget_theysaidso_widget
vxg_pipedrive_pro_version
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Integration for Gravity Forms and Pipedrive
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲6814.25 ▼0.101.71 ▲0.1838.17 ▼3.80
Dashboard /wp-admin2,217 ▲395.54 ▼0.1392.04 ▼12.5140.74 ▲2.20
Posts /wp-admin/edit.php2,126 ▲261.98 ▲0.0440.57 ▲1.8440.53 ▲5.05
Add New Post /wp-admin/post-new.php1,544 ▲823.02 ▼0.11607.16 ▼80.7058.94 ▲7.74
Media Library /wp-admin/upload.php1,425 ▲254.26 ▲0.0795.94 ▼18.0443.17 ▼4.62

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 detected upon uninstall: 3 tables
    • wp_vxg_pipedrive_accounts
    • wp_vxg_pipedrive
    • wp_vxg_pipedrive_log
  • The uninstall procedure has failed, leaving 7 options in the database
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • vxg_pipedrive_pro_version
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: gravity forms pipedrive integration, gravity forms to pipedrive, gravity forms pipedrive, pipedrive

integration-for-gravity-forms-and-pipedrive/integration-for-gravity-forms-and-pipedrive.php 92% from 13 tests

"Integration for Gravity Forms and Pipedrive" version 1.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • 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 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected6,794 lines of code in 23 files:
LanguageFilesBlank linesComment linesLines of code
PHP207488966,788
JavaScript2105
CSS1001

PHP code 50% from 2 tests

An overview of cyclomatic complexity and code structure
Please tend to the following items
  • Cyclomatic complexity of methods should be reduced to less than 100 (currently 104)
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity115.00
▷ Minimum class complexity6.00
▷ Maximum class complexity356.00
Average method complexity6.33
▷ Minimum method complexity1.00
▷ Maximum method complexity104.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods172
▷ Static methods31.74%
▷ Public methods16294.19%
▷ Protected methods00.00%
▷ Private methods105.81%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
8 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/failed.png1.54KB0.48KB▼ 68.88%
images/active1.png0.21KB0.18KB▼ 16.89%
images/active0.png0.22KB0.18KB▼ 16.67%
images/filtered.png1.47KB0.48KB▼ 67.40%
images/created.png1.52KB0.50KB▼ 67.24%