bikeindex/bike_index

View on GitHub
app/models/paint.rb

Summary

Maintainability
A
1 hr
Test Coverage
A
90%

Method paint_name_parser has 66 lines of code (exceeds 50 allowed). Consider refactoring.
Open

  def self.paint_name_parser(str)
    paint_str = str.clone.downcase
    paint_str.gsub!(/[\\\/"\-()?,&+;.]/, " ")

    # RAL colors. See wikipedia table for rough groupings. Many of the reds are pink, greys are brown, etc. by whatever
Severity: Major
Found in app/models/paint.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status