Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 2 | 0.990 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 215 | src/NHibernate/Hql/Ast/ANTLR/Tree/FromElementType.cs |
2 | 14 | 232 | src/NHibernate/Hql/Ast/ANTLR/Tree/FromElementType.cs |
| ||||
public string RenderCollectionSelectFragment(int size, int k) { if (_queryableCollection == null) { return ""; } else { if (_collectionSuffix == null) { _collectionSuffix = GenerateSuffix(size, k); } string fragment = _queryableCollection.SelectFragment(CollectionTableAlias, _collectionSuffix); return TrimLeadingCommaAndSpaces(fragment); } } |
| ||||
public string RenderValueCollectionSelectFragment(int size, int k) { if (_queryableCollection == null) { return ""; } else { if (_collectionSuffix == null) { _collectionSuffix = GenerateSuffix(size, k); } string fragment = _queryableCollection.SelectFragment(TableAlias, _collectionSuffix); return TrimLeadingCommaAndSpaces(fragment); } } |
| |||
public string [[#variable5f49c980]](int size, int k) { if (_queryableCollection == null) { return ""; } else { if (_collectionSuffix == null) { _collectionSuffix = GenerateSuffix(size, k); } string fragment = _queryableCollection.SelectFragment( [[#variable5f49c920]], _collectionSuffix); return TrimLeadingCommaAndSpaces(fragment); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5f49c980]] | RenderValueCollectionSelectFragment |
1 | 2 | [[#5f49c980]] | RenderCollectionSelectFragment |
2 | 1 | [[#5f49c920]] | TableAlias |
2 | 2 | [[#5f49c920]] | CollectionTableAlias |