jvanbaarsen/omdb

View on GitHub
lib/omdb/movie.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

    def initialize(movie)
      @title = movie["Title"]
      @year = movie["Year"].to_i
      @imdb_id = movie["imdbID"]
      @type = movie["Type"]
Severity: Minor
Found in lib/omdb/movie.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status