90% auto-fill-infusionsoft-forms

Code Review | Auto-Fill Infusionsoft Forms

WordPress plugin Auto-Fill Infusionsoft Forms scored 90% from 54 tests.

About plugin

  • Plugin page: auto-fill-infusio...
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.00-5.5
  • WordPress version: 6.3.1
  • First release: Mar 20, 2016
  • Latest release: Aug 17, 2020
  • Number of updates: 13
  • Update frequency: every 123.8 days
  • Top authors: Geek Goddess (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active / 1,995 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼5.87ms] Passed 4 tests

A check of server-side resources used by Auto-Fill Infusionsoft Forms
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0336.69 ▼7.02
Dashboard /wp-admin3.33 ▲0.0343.33 ▼5.27
Posts /wp-admin/edit.php3.38 ▲0.0348.45 ▼9.39
Add New Post /wp-admin/post-new.php5.91 ▲0.0393.56 ▼1.80
Media Library /wp-admin/upload.php3.26 ▲0.0337.47 ▲1.32
Auto-Fill Infusionsoft Forms /wp-admin/options-general.php?page=gg-af-plugin-settings3.2229.40

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Auto-Fill Infusionsoft Forms
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,910 ▲15313.69 ▼0.896.89 ▲5.0637.37 ▼9.73
Dashboard /wp-admin2,210 ▲195.88 ▼0.17105.28 ▲5.3140.71 ▼3.78
Posts /wp-admin/edit.php2,093 ▲42.02 ▼0.0039.48 ▼3.0935.38 ▼1.52
Add New Post /wp-admin/post-new.php1,536 ▲1723.39 ▲0.08659.97 ▼50.2651.87 ▼2.69
Media Library /wp-admin/upload.php1,392 ▲44.12 ▼0.08104.82 ▼1.8047.16 ▼1.16
Auto-Fill Infusionsoft Forms /wp-admin/options-general.php?page=gg-af-plugin-settings9112.0223.0432.95

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
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options

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
Even though no errors were found, this is by no means an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration Passed 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
7 plugin tags: pre-fill, auto-populate, autofill, auto-fill, infusionsoft...

auto-fill-infusionsoft-forms/auto-fill-infusionsoft-forms.php Passed 13 tests

The primary PHP file in "Auto-Fill Infusionsoft Forms" version 1.0.4 is used by WordPress to initiate all plugin functionality
108 characters long description:
Automatically Pre-Fill Infusionsoft Web Forms and Legacy Order Forms with data passed to the form in the URL

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected106 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1182091
JavaScript11015

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.16
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG images were found in this plugin