Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 5 | 0.965 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 913 | src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs |
2 | 10 | 930 | src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs |
| ||||
{ for (int i = 0; i < elementColumnIsSettable.Length; i++) { if (elementColumnIsSettable[i]) { frag.AddColumn(elemAlias, elementColumnNames[i], elementColumnAliases[i]); } else { frag.AddFormula(elemAlias, elementFormulaTemplates[i], elementColumnAliases[i]); } } } |
| ||||
{ for (int i = 0; i < indexColumnIsSettable.Length; i++) { if (indexColumnIsSettable[i]) { frag.AddColumn(alias, indexColumnNames[i], indexColumnAliases[i]); } else { frag.AddFormula(alias, indexFormulaTemplates[i], indexColumnAliases[i]); } } } |
| |||
{ for (int i = 0; i < [[#variable28c54b80]].Length; i++) { if ( [[#variable28c54b80]][i]) { frag.AddColumn( [[#variable28c54b00]], [[#variable28c54a80]][i], [[#variable28c54a20]][i]); } else { frag.AddFormula( [[#variable28c54b00]], [[#variable28c549a0]][i], [[#variable28c54a20]][i]); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#28c54b80]] | indexColumnIsSettable |
1 | 2 | [[#28c54b80]] | elementColumnIsSettable |
2 | 1 | [[#28c54b00]] | alias |
2 | 2 | [[#28c54b00]] | elemAlias |
3 | 1 | [[#28c54a80]] | indexColumnNames |
3 | 2 | [[#28c54a80]] | elementColumnNames |
4 | 1 | [[#28c54a20]] | indexColumnAliases |
4 | 2 | [[#28c54a20]] | elementColumnAliases |
5 | 1 | [[#28c549a0]] | indexFormulaTemplates |
5 | 2 | [[#28c549a0]] | elementFormulaTemplates |