af83/chouette-core

View on GitHub
app/models/macro/update_attribute_from_referent_to_particulars.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method candidate_target_attributes has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def candidate_target_attributes # rubocop:disable Metrics/MethodLength,Metrics/AbcSize
        Chouette::ModelAttribute.collection do # rubocop:disable Metrics/BlockLength
          select Chouette::StopArea, :name
          select Chouette::StopArea, :parent
          select Chouette::StopArea, :country_code
Severity: Minor
Found in app/models/macro/update_attribute_from_referent_to_particulars.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status