68% fluent-crm

Code Review | Email Marketing, Newsletter, Email Automation and CRM Plugin for WordPress by FluentCRM

WordPress plugin Email Marketing, Newsletter, Email Automation and CRM Plugin for WordPress by FluentCRM scored68%from 54 tests.

About plugin

  • Plugin page: fluent-crm
  • Plugin version: 2.8.34
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: Sep 29, 2020
  • Latest release: Nov 14, 2023
  • Number of updates: 74
  • Update frequency: every 15.8 days
  • Top authors: techjewel (100%)

Code review

54 tests

User reviews

118 reviews

Install metrics

30,000+ active /536,014 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲4.15MB] [CPU: ▲26.05ms] Passed 4 tests

Analyzing server-side resources used by Email Marketing, Newsletter, Email Automation and CRM Plugin for WordPress by FluentCRM
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /7.55 ▲4.0964.41 ▲17.68
Dashboard /wp-admin7.49 ▲4.1478.95 ▲16.83
Posts /wp-admin/edit.php7.54 ▲4.1881.67 ▲36.91
Add New Post /wp-admin/post-new.php10.78 ▲4.89125.08 ▲40.91
Media Library /wp-admin/upload.php7.41 ▲4.1867.30 ▲32.76

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 609 new files
Database: 19 new tables, 12 new options
New tables
wp_actionscheduler_groups
wp_fc_subscriber_notes
wp_fc_funnel_sequences
wp_fc_funnel_subscribers
wp_fc_campaign_url_metrics
wp_fc_lists
wp_fc_campaign_emails
wp_fc_url_stores
wp_fc_funnels
wp_fc_campaigns
...
New WordPress options
action_scheduler_lock_async-request-runner
widget_recent-comments
fluentcrm-global-settings
theysaidso_admin_options
action_scheduler_hybrid_store_demarkation
schema-ActionScheduler_StoreSchema
fluentcrm_is_sending_emails
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
...

Browser metrics Passed 4 tests

A check of browser resources used by Email Marketing, Newsletter, Email Automation and CRM Plugin for WordPress by FluentCRM
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,953 ▲20614.16 ▲0.261.76 ▲0.1137.24 ▼6.08
Dashboard /wp-admin2,361 ▲1815.69 ▲0.0598.71 ▲4.9541.96 ▲5.56
Posts /wp-admin/edit.php2,270 ▲1672.01 ▲0.0042.76 ▲3.7738.52 ▲5.37
Add New Post /wp-admin/post-new.php1,797 ▲25223.78 ▼1.28603.97 ▼31.4934.73 ▼21.84
Media Library /wp-admin/upload.php1,567 ▲1674.38 ▲0.1798.69 ▲1.2743.74 ▲2.51
Addons /wp-admin/admin.php?page=fluentcrm-admin#/add-ons4947.90263.7432.13
Contacts /wp-admin/admin.php?page=fluentcrm-admin#/subscribers2,29425.36581.2194.27
Reports /wp-admin/admin.php?page=fluentcrm-admin#/reports1,63119.54381.0067.59
Email Templates /wp-admin/admin.php?page=fluentcrm-admin#/email/templates2,02223.38350.3762.87
Campaigns /wp-admin/admin.php?page=fluentcrm-admin#/email/campaigns1,85421.80360.5545.03
SMTP /wp-admin/admin.php?page=fluentcrm-admin#/settings/smtp_settings2,06421.70242.3344.09
Help /wp-admin/admin.php?page=fluentcrm-admin#/documentation2,68022.13198.8346.03
Settings /wp-admin/admin.php?page=fluentcrm-admin#/settings1,64216.59203.2871.67
Email Sequences /wp-admin/admin.php?page=fluentcrm-admin#/email/sequences2,44729.05576.2375.28
Recurring Campaigns /wp-admin/admin.php?page=fluentcrm-admin#/email/recurring-campaigns1,63219.42211.0431.56

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin does not fully uninstall, leaving 19 tables in the database
    • wp_actionscheduler_logs
    • wp_actionscheduler_groups
    • wp_fc_campaign_url_metrics
    • wp_fc_subscribers
    • wp_fc_url_stores
    • wp_fc_subscriber_meta
    • wp_actionscheduler_claims
    • wp_fc_subscriber_notes
    • wp_fc_meta
    • wp_fc_campaign_emails
    • ...
  • The uninstall procedure has failed, leaving 12 options in the database
    • schema-ActionScheduler_StoreSchema
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • fluentcrm-global-settings
    • action_scheduler_hybrid_store_demarkation
    • action_scheduler_lock_async-request-runner
    • fluentcrm_is_sending_emails
    • ...

Smoke tests 50% from 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)
Even though no errors were found, this is by no means an exhaustive test

SRP 0% 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
Please take a closer look at the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/fluent-crm/app/views/external/unsubscribe_request_email.php
  • 228× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'FluentCrm\\App\\Services\\Funnel\\BaseBenchMark' not found in wp-content/plugins/fluent-crm/app/Services/Funnel/Benchmarks/ListAppliedBenchmark.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'FluentCrm\\App\\Models\\Model' not found in wp-content/plugins/fluent-crm/app/Models/Meta.php:15
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/fluent-crm/app/views/emails/common-style.php on line 8
    • > PHP Fatal error
      Uncaught Error: Class 'FluentCrm\\App\\Http\\Policies\\BasePolicy' not found in wp-content/plugins/fluent-crm/app/Http/Policies/FormsPolicy.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'FluentCrm\\App\\Http\\Controllers\\Controller' not found in wp-content/plugins/fluent-crm/app/Http/Controllers/CompanyController.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'League\\Csv\\AbstractCsv' not found in wp-content/plugins/fluent-crm/app/Services/Libs/csv/src/Writer.php:27
    • > PHP Fatal error
      Uncaught Error: Class 'FluentCrm\\App\\Services\\Funnel\\BaseAction' not found in wp-content/plugins/fluent-crm/app/Services/Funnel/Actions/ApplyListAction.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'ActionScheduler_Action' not found in wp-content/plugins/fluent-crm/app/Services/Libs/action-scheduler/classes/actions/ActionScheduler_NullAction.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'FluentCrm\\Framework\\Foundation\\Policy' not found in wp-content/plugins/fluent-crm/app/Http/Policies/BasePolicy.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'FluentCrm\\App\\Models\\Model' not found in wp-content/plugins/fluent-crm/app/Models/User.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: subscribers, newsletter, email newsletter, email marketing, crm

fluent-crm/fluent-crm.php Passed 13 tests

The entry point to "Email Marketing, Newsletter, Email Automation and CRM Plugin for WordPress by FluentCRM" version 2.8.34 is a PHP file that has certain tags in its header comment area
45 characters long description:
CRM and Email Newsletter Plugin for WordPress

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
Good job! No executable or dangerous file extensions detected96,788 lines of code in 530 files:
LanguageFilesBlank linesComment linesLines of code
PHP40812,27220,31355,323
PO File512,96014,52929,481
JavaScript242,1852,18310,434
SVG7312341,038
JSON500347
CSS14308164
Markdown1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity16.44
▷ Minimum class complexity1.00
▷ Maximum class complexity285.00
Average method complexity2.56
▷ Minimum method complexity1.00
▷ Maximum method complexity47.00
Code structure
Namespaces49
Interfaces19
Traits14
Classes325
▷ Abstract classes309.23%
▷ Concrete classes29590.77%
▷ Final classes31.02%
Methods3,404
▷ Static methods39611.63%
▷ Public methods2,68778.94%
▷ Protected methods52015.28%
▷ Private methods1975.79%
Functions413
▷ Named functions9021.79%
▷ Anonymous functions32378.21%
Constants79
▷ Global constants2430.38%
▷ Class constants5569.62%
▷ Public constants55100.00%

Plugin size 0% from 2 tests

Image compression 0% from 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
29 PNG files occupy 0.64MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/promo/segment_campaign.png50.57KB53.07KB0.00%
assets/images/drag-drop.png8.78KB4.40KB▼ 49.88%
assets/images/rcp.png1.49KB1.56KB0.00%
(invalid) assets/images/migrators/active_campaign.png1.53KB0.00KB▼ 100.00%
assets/images/learnpress.png31.00KB7.50KB▼ 75.79%