Class: Snoot::ComplexityHit
- Inherits:
-
Data
- Object
- Data
- Snoot::ComplexityHit
- 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
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#method_name ⇒ Object
readonly
Returns the value of attribute method_name.
-
#score ⇒ Object
readonly
Returns the value of attribute score.
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location
15 16 17 |
# File 'lib/snoot/findings.rb', line 15 def location @location end |
#method_name ⇒ Object (readonly)
Returns the value of attribute method_name
15 16 17 |
# File 'lib/snoot/findings.rb', line 15 def method_name @method_name end |
#score ⇒ Object (readonly)
Returns the value of attribute score
15 16 17 |
# File 'lib/snoot/findings.rb', line 15 def score @score end |