Page MenuHomeDevCentral

rubocop tommy.rb

Authored By
dereckson
Sep 21 2018, 10:59
Size
727 B
Referenced Files
None
Subscribers
None

rubocop tommy.rb

Inspecting 1 file
C
Offenses:
tommy.rb:1:1: C: Style/FrozenStringLiteralComment: Missing magic comment # frozen_string_literal: true.
# -------------------------------------------------------------
^
tommy.rb:55:3: C: Metrics/AbcSize: Assignment Branch Condition size for parse_project is too high. [25.81/15]
def self.parse_project(data) ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tommy.rb:55:3: C: Metrics/MethodLength: Method has too many lines. [24/10]
def self.parse_project(data) ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tommy.rb:77:7: C: Layout/EmptyLineAfterGuardClause: Add empty line after guard clause.
next if data[api_property].blank?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1 file inspected, 4 offenses detected

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
195256
Default Alt Text
rubocop tommy.rb (727 B)

Event Timeline