Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.961 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 973 | src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs |
2 | 8 | 1842 | src/NHibernate/Persister/Entity/AbstractEntityPersister.cs |
| ||||
{ if (columnNames[i] == null) { result[i] = StringHelper.Replace(formulaTemplates[i], Template.Placeholder, alias); } else { result[i] = StringHelper.Qualify(alias, columnNames[i]); } } |
| ||||
{ if (cols[j] == null) { result[j] = StringHelper.Replace(templates[j], Template.Placeholder, alias); } else { result[j] = StringHelper.Qualify(alias, cols[j]); } } |
| |||
{ if ( [[#variable26ec9480]][ [[#variable2b866a80]]] == null) { result[ [[#variable2b866a80]]] = StringHelper.Replace( [[#variable2b866a00]][ [[#variable2b866a80]]], Template.Placeholder, alias); } else { result[ [[#variable2b866a80]]] = StringHelper.Qualify(alias, [[#variable26ec9480]][ [[#variable2b866a80]]]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#26ec9480]] | columnNames |
1 | 2 | [[#26ec9480]] | cols |
2 | 1 | [[#2b866a80]] | i |
2 | 2 | [[#2b866a80]] | j |
3 | 1 | [[#2b866a00]] | formulaTemplates |
3 | 2 | [[#2b866a00]] | templates |