Class: Snoot::ComplexityHit

Inherits:
Data
  • Object
show all
Defined in:
lib/snoot/findings.rb

Overview

A single high-complexity method reported by Flog; score (BigDecimal) is the ranking key.

Instance Attribute Summary collapse

Instance Attribute Details

#locationObject (readonly)

Returns the value of attribute location

Returns:

  • (Object)

    the current value of location



15
16
17
# File 'lib/snoot/findings.rb', line 15

def location
  @location
end

#method_nameObject (readonly)

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



15
16
17
# File 'lib/snoot/findings.rb', line 15

def method_name
  @method_name
end

#scoreObject (readonly)

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



15
16
17
# File 'lib/snoot/findings.rb', line 15

def score
  @score
end