78% outfunnel

Code Review | Outfunnel: Web Visitor Tracking & CRM Integration

WordPress plugin Outfunnel: Web Visitor Tracking & CRM Integration scored78%from 54 tests.

About plugin

  • Plugin page: outfunnel
  • Plugin version: 2.9.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-6.3.2
  • WordPress version: 6.3.1
  • First release: May 22, 2019
  • Latest release: Oct 16, 2023
  • Number of updates: 45
  • Update frequency: every 35.8 days
  • Top authors: outfunnel (100%)

Code review

54 tests

User reviews

1 review

Install metrics

500+ active /9,409 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
This plugin's installer ran successfully

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

A check of server-side resources used by Outfunnel: Web Visitor Tracking & CRM Integration
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▼0.0023.44 ▼10.62
Dashboard /wp-admin3.33 ▲0.0344.52 ▼5.84
Posts /wp-admin/edit.php3.45 ▲0.0945.53 ▼7.24
Add New Post /wp-admin/post-new.php5.92 ▲0.0380.37 ▼16.35
Media Library /wp-admin/upload.php3.25 ▲0.0336.82 ▲3.37
Outfunnel /wp-admin/options-general.php?page=outfunnel-settings3.2031.56

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Outfunnel: Web Visitor Tracking & CRM Integration
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.72 ▲0.371.67 ▲0.0838.78 ▼1.20
Dashboard /wp-admin2,199 ▲195.52 ▼0.1382.09 ▼9.8240.01 ▼1.87
Posts /wp-admin/edit.php2,104 ▲42.01 ▼0.0034.80 ▼5.5133.18 ▼4.32
Add New Post /wp-admin/post-new.php1,529 ▲123.28 ▼0.06636.39 ▼18.3854.55 ▲5.18
Media Library /wp-admin/upload.php1,407 ▲134.22 ▲0.01104.49 ▲7.7249.84 ▲5.81
Outfunnel /wp-admin/options-general.php?page=outfunnel-settings8652.0025.2835.33

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=outfunnel-settings
    • > Notice in wp-content/plugins/outfunnel/outfunnel.php+441
    Trying to access array offset on value of type bool

SRP 50% from 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
The following issues need your attention
  • 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Interface 'Outfunnel\\Forms\\Form' not found in wp-content/plugins/outfunnel/forms/contactform7.php:8
    • > PHP Warning
      include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/outfunnel/forms/elementor.php on line 9
    • > PHP Warning
      include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/outfunnel/forms/gravityplugin.php on line 4
    • > PHP Warning
      include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/outfunnel/forms/contactform7.php on line 6
    • > PHP Fatal error
      Uncaught Error: Interface 'Outfunnel\\Forms\\Form' not found in wp-content/plugins/outfunnel/forms/gravityplugin.php:6
    • > PHP Warning
      include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/outfunnel/forms/elementor.php on line 9
    • > PHP Fatal error
      Uncaught Error: Interface 'Outfunnel\\Forms\\Form' not found in wp-content/plugins/outfunnel/forms/elementor.php:11
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/outfunnel/forms/contactform7.php on line 6
    • > PHP Warning
      include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/outfunnel/forms/contactform7.php on line 6
    • > PHP Warning
      include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/outfunnel/forms/gravityplugin.php on line 4

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)
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Tags: You are using too many tags: 13 tag instead of maximum 10
You can take inspiration from this readme.txt

outfunnel/outfunnel.php Passed 13 tests

"Outfunnel: Web Visitor Tracking & CRM Integration" version 2.9.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
123 characters long description:
Easily sync leads from various Wordpress forms to Pipedrive, Copper, HubSpot and other CRMs. Includes web visitor tracking.

Code Analysis Passed 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
Good job! No executable or dangerous file extensions detected806 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP7207111806

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity10.14
▷ Minimum class complexity1.00
▷ Maximum class complexity34.00
Average method complexity2.14
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces2
Interfaces1
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods58
▷ Static methods813.79%
▷ Public methods4679.31%
▷ Protected methods00.00%
▷ Private methods1220.69%
Functions5
▷ Named functions00.00%
▷ Anonymous functions5100.00%
Constants14
▷ Global constants857.14%
▷ Class constants642.86%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin