Page MenuHomeDevCentral
Paste P204

rubocop tommy.rb
ActivePublic

Authored by dereckson on Jul 10 2016, 16:31.
Tags
None
Referenced Files
F650935: rubocop tommy.rb
Sep 21 2018, 10:59
F43844: rubocop tommy.rb
Jul 10 2016, 16:31
Subscribers
None
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

Event Timeline

dereckson changed the title of this paste from untitled to rubocop tommy.rb.
dereckson updated the paste's language from autodetect to ruby.Sep 21 2018, 10:59
dereckson edited the content of this paste. (Show Details)

Updated output following T912-related commits.