haxney/railskating

View on GitHub
lib/results_scrapers/zsconcepts.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method scrape_event has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.scrape_event(doc)
    event = {}

    title = doc.css('body title').first.content
    md = /Event #([0-9]+): (.+?) (.+?) (.+)/.match(title)
Severity: Minor
Found in lib/results_scrapers/zsconcepts.rb - About 1 hr to fix

    Method scrape_couples has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def self.scrape_couples(rows, dances, judges)
        rows.map do |row|
          couple = {}
          cols = row.children
          name_elem = cols.shift.content
    Severity: Minor
    Found in lib/results_scrapers/zsconcepts.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status