af83/chouette-core

View on GitHub
app/models/control/presence_attribute.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Method candidate_target_attributes has 80 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
            # Chouette::StopArea
            select Chouette::StopArea, :name
            select Chouette::StopArea, :country_code
Severity: Major
Found in app/models/control/presence_attribute.rb - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status