geoffharcourt/moneyball

View on GitHub
lib/moneyball/batted_ball_location_extractor.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method classification has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def classification
      case
      when event_description.match(deflected_by_regex("first baseman")) then "1B"
      when event_description.match(deflected_by_regex("second baseman")) then "2B"
      when event_description.match(deflected_by_regex("third baseman")) then "3B"
Severity: Minor
Found in lib/moneyball/batted_ball_location_extractor.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status