Class: Snoot::DuplicationCluster
- Inherits:
-
Data
- Object
- Data
- Snoot::DuplicationCluster
- Defined in:
- lib/snoot/findings.rb
Overview
A structural-duplication cluster reported by Flay: a signature shared across two or more Locations. Cluster size (locations.size) is the ranking key.
Instance Attribute Summary collapse
-
#locations ⇒ Object
readonly
Returns the value of attribute locations.
-
#signature ⇒ Object
readonly
Returns the value of attribute signature.
Instance Method Summary collapse
Instance Attribute Details
#locations ⇒ Object (readonly)
Returns the value of attribute locations
20 21 22 |
# File 'lib/snoot/findings.rb', line 20 def locations @locations end |
#signature ⇒ Object (readonly)
Returns the value of attribute signature
20 21 22 |
# File 'lib/snoot/findings.rb', line 20 def signature @signature end |
Instance Method Details
#size ⇒ Object
21 |
# File 'lib/snoot/findings.rb', line 21 def size = locations.size |