extinctionrebellion/RebelsManager

View on GitHub
app/services/rebels/import_service.rb

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Complex method Rebels::ImportService#process_csv (40.7)
Open

    def process_csv(content)
      csv = CSV.parse(content, headers: false)
      row_line = 0
      csv.each do |row|
        ActiveRecord::Base.transaction do
Severity: Minor
Found in app/services/rebels/import_service.rb by flog

Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.

You can read more about ABC metrics or the flog tool

There are no issues that match your filters.

Category
Status