90% webform-integration

Code Review | Web Form Integration

WordPress plugin Web Form Integration scored90%from 54 tests.

About plugin

  • Plugin page: webform-integration
  • Plugin version: 1...
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-4.7
  • WordPress version: 6.3.1
  • First release: Feb 26, 2017
  • Latest release: Feb 26, 2017
  • Number of updates: 9
  • Update frequency: every 9.7 days
  • Top authors: miraclewebssoft (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,015 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼6.84ms] Passed 4 tests

A check of server-side resources used by Web Form Integration
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0236.34 ▼3.03
Dashboard /wp-admin3.33 ▼0.0147.47 ▼10.32
Posts /wp-admin/edit.php3.38 ▲0.0343.43 ▲0.69
Add New Post /wp-admin/post-new.php5.91 ▲0.0379.42 ▼12.85
Media Library /wp-admin/upload.php3.26 ▲0.0335.68 ▼1.15
Webform Integration /wp-admin/options-general.php?page=gwci_slug3.2229.77

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Web Form Integration
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,826 ▲8014.36 ▲0.012.25 ▲0.6246.99 ▲3.22
Dashboard /wp-admin2,206 ▲315.68 ▲0.0383.54 ▼34.6737.10 ▼6.47
Posts /wp-admin/edit.php2,108 ▲292.01 ▲0.0338.21 ▲2.8637.72 ▲6.10
Add New Post /wp-admin/post-new.php1,535 ▲623.08 ▲0.11613.42 ▲3.6951.31 ▼4.17
Media Library /wp-admin/upload.php1,411 ▲144.21 ▼0.01100.02 ▼0.5843.36 ▼0.42
Webform Integration /wp-admin/options-general.php?page=gwci_slug1,4578.27207.4666.82

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded

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
Everything seems fine, however this is by no means an exhaustive test

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

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, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: web forms, zoho webform, infusionsoft webform, sugarcrm webform, any webform...

webform-integration/webform-integration.php 92% from 13 tests

"Web Form Integration" version 1...'s primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "1...")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin94 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP2371285
CSS1007
JavaScript2002

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.15
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods11
▷ Static methods00.00%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
There are no PNG files in this plugin