fteem/marver

View on GitHub

Showing 3 of 24 total issues

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

      def map
        { 
        title:        @results['title'],
        resource_uri: @results['resourceURI'],
        id:           @results['id'].to_i,
Severity: Minor
Found in lib/marver/mappers/comic_attributes_mapper.rb - About 1 hr to fix

    Avoid too many return statements within this method.
    Open

          return name[0..-2].capitalize
    Severity: Major
    Found in lib/marver/helpers/string_helper.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

            return "Story" if name == 'stories'
      Severity: Major
      Found in lib/marver/helpers/string_helper.rb - About 30 mins to fix
        Severity
        Category
        Status
        Source
        Language