af83/chouette-core

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

Summary

Maintainability
A
3 hrs
Test Coverage

Method candidate_target_attributes has 77 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::Line
            select Chouette::Line, :name
            select Chouette::Line, :color
Severity: Major
Found in app/models/control/format_attribute.rb - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status